Home »
MCQs »
SQL MCQs »
SQL Commands: DDL, DML, DCL, TCL, DQL MCQs
Select the correct statement (2)
19. Select the correct statement (2)
- DDL consist of 4 commands
- DCL consist of 2 commands
- TCL consist of 5 commands
- DML consist of 3 commands
Answer: B) DCL consist of 2 commands
Explanation:
- DDL consist of 5 commands, i.e., CREATE, ALTER, DROP, TRUNCATE & RENAME.
- DML consist of 4 commands, i.e., SELECT, INSERT, UPDATE & DELETE.
- DCL consist of 2 commands, i.e., GRANT & REVOKE.
- TCL consist of 3 commands, i.e., COMMIT, ROLLBACK & SAVEPOINT.