Search Header Logo

SQL DML Commands Quiz

Authored by DR MURTHY

Computers

12th Grade

Used 10+ times

SQL DML Commands Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a DML command?

CREATE

ALTER

INSERT

DROP

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL command is used to modify existing records in a table?

INSERT

UPDATE

DELETE

SELECT

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which clause is used in conjunction with DML commands to filter records?

ORDER BY

WHERE

GROUP BY

HAVING

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which DML statement is used to remove records from a table?

DELETE

TRUNCATE

DROP

REMOVE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following SQL statement do? INSERT INTO Students (ID, Name) VALUES (101, 'John');

Delete the student with ID 101

Insert a new student record with ID 101 and Name 'John'

Update the student name to 'John' where ID is 101

Create a new table called Students

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL statement is used to retrieve data from a database?

SELECT

UPDATE

INSERT

DELETE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the DELETE statement?

It removes the table structure from the database

It removes specific records based on a condition

It permanently removes all records without a condition

It cannot be rolled back

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?