Loading

Q1.

Which SQL command is used to create a table?
A. INSERT
B. CREATE
C. SELECT
D. UPDATE

Q2.

Which SQL command removes all records but keeps the table structure?
A. DROP
B. DELETE
C. TRUNCATE
D. ROLLBACK

Q3.

Which category of SQL commands controls permissions?
A. DDL
B. DML
C. DCL
D. TCL

Q4.

Which command is used to permanently save changes?
A. SAVEPOINT
B. ROLLBACK
C. COMMIT
D. DELETE

Q5.

Which SQL command is mainly used in DQL?
A. UPDATE
B. SELECT
C. INSERT
D. DROP