Which of these are DCL commands?
-
Grant
-
Alter
-
Revoke
-
All of the above
A,C
Correct answer
Explanation
DCL (Data Control Language) commands in SQL are used to control access to data. GRANT gives permissions and REVOKE removes permissions - both are correct DCL commands. ALTER is a DDL (Data Definition Language) command, not DCL. Option D ('All of the above') is incorrect because ALTER is wrong.