Search Header Logo

Latihan1

Authored by Fransisca Sebayang Polnes

Architecture

4th Grade

Used 2+ times

Latihan1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

1.    Perintah SQL yang termasuk dalam Data Definition Language (DDL) adalah …

a. SELECT, INSERT, DELETE

b.   CREATE, ALTER, DROP

c. UPDATE, DELETE, SELECT

d. GRANT, REVOKE, ROLLBACK

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

  1. 2. Pernyataan yang benar tentang DML adalah …

a. DML digunakan untuk mendefinisikan struktur database

b. DML berfungsi untuk mengubah dan mengelola data di dalam database

c. DML hanya digunakan untuk membuat tabel baru

d. DML hanya dapat digunakan dalam sistem NoSQL

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 3. Perintah SQL berikut yang digunakan untuk menambahkan kolom baru dalam tabel adalah …

a. CREATE COLUMN

b. ALTER TABLE ADD COLUMN

c. MODIFY TABLE

d. ADD COLUMN TO TABLE

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 4. Jika ingin menghapus seluruh data dalam tabel tanpa menghapus strukturnya, perintah yang digunakan adalah …

a. DROP TABLE

b. DELETE FROM table_name

c. TRUNCATE TABLE table_name

d. REMOVE TABLE

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 5. Untuk menambahkan data ke dalam tabel, perintah SQL yang digunakan adalah …

a.       ADD

b. INSERT INTO

c. UPDATE

d. ALTER TABLE

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 6. Berikut adalah contoh perintah DDL, kecuali …

a.       DROP TABLE students;

b. ALTER TABLE employees ADD COLUMN age INT;

c. CREATE TABLE users (id INT, name VARCHAR(50));

d. UPDATE users SET name = 'John' WHERE id = 1;

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

  1. 7. Perintah SQL yang digunakan untuk mengubah data yang sudah ada dalam tabel adalah …

a.       MODIFY

b. UPDATE

c. CHANGE

d. ALTER

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?