PreLab Quiz - DDL and DML Commands

PreLab Quiz - DDL and DML Commands

Professional Development

10 Qs

quiz-placeholder

Similar activities

SLG ULI101 Week 10

SLG ULI101 Week 10

Professional Development

11 Qs

Abap 2

Abap 2

Professional Development

10 Qs

PL/SQL Programming

PL/SQL Programming

Professional Development

15 Qs

Subqueries Quiz

Subqueries Quiz

Professional Development

15 Qs

Understanding SQL DDL and DML

Understanding SQL DDL and DML

Professional Development

15 Qs

DDL - Create

DDL - Create

Professional Development

10 Qs

SQL Database - Basic

SQL Database - Basic

Professional Development

10 Qs

DBMS SESSION 20

DBMS SESSION 20

Professional Development

8 Qs

PreLab Quiz - DDL and DML Commands

PreLab Quiz - DDL and DML Commands

Assessment

Quiz

Computers

Professional Development

Easy

Created by

Saranya E

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of the following is a DDL command?
INSERT
SELECT
DELETE
CREATE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. Which command is used to remove all rows from a table but keep the structure?
DELETE
DROP
TRUNCATE
REMOVE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which of the following is used to change the structure of an existing table?
UPDATE
ALTER
INSERT
MODIFY

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. The command to delete a table permanently is:
DELETE
TRUNCATE
REMOVE
DROP

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which SQL command is used to insert new data into a table?
INSERT INTO
ADD ROW
NEW ENTRY
APPEND

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. What is the correct command to change a column name in MySQL?
MODIFY COLUMN
CHANGE COLUMN
RENAME COLUMN
ALTER COLUMN

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of the following statements will add a new column `email` to the `Customers` table?
ALTER Customers ADD email TEXT;
ALTER TABLE Customers ADD COLUMN email TEXT;
MODIFY TABLE Customers ADD email TEXT;
ADD COLUMN email TO Customers;

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?