
PreLab Quiz - DDL and DML Commands
Authored by Saranya E
Computers
Professional Development
Used 1+ times

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
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;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?