ExamVeda
Login
Home
This question belongs to SQL Sql Miscellaneous
Sql Miscellaneous
?

In SQL, which of the following is not a data definition language commands?

Answer & Solution
Correct Answer: Option C
In SQL, the Data Definition Language (DDL) is used to define, manage, and modify the structure of a database. DDL commands are primarily responsible for creating, altering, or deleting tables, schemas, and other database objects. Among the options provided:

Option C: UPDATE is not a data definition language command. UPDATE is a Data Manipulation Language (DML) command used to modify data within existing tables, not to define or manage the structure of the database.

The other options, REVOKE, RENAME, and GRANT, are DDL commands used for managing user privileges, renaming database objects, and controlling access, respectively.
So, the correct answer is Option C: UPDATE.
Examveda
Question posted by Examveda
Community

Join the Discussion

2 Comments
Adi Singh
Adi Singh 1 year ago
REVOKE and GRANT are DCL (Data Control Language) statements, while RENAME is the only DDL (Data Definition Language) statement in the question. To make the question accurate, the word 'not' should be removed, as the correct answer would then be the DDL statement (RENAME).
Aj Uzumaki
Aj Uzumaki 4 years ago
The question it self is wrong, none of them belongs to DDL.