Test Index
Structured Query Language (SQL)
© examsnet.com
Question : 24 of 58
Marks:
+1,
-0
Write any two DDL commands.
[CBSE 2025 Compartment]
Solution:
Concept:DDL (Data Definition Language) commands create, change or remove the structure of database objects such as tables.Answer:1.
CREATE – creates a new database or table, e.g. CREATE TABLE Student (RollNo INT, Name VARCHAR(20));2. ALTER – changes the structure of an existing table, e.g. ALTER TABLE Student ADD Marks INT;(Also: DROP – removes a table or database completely.)© examsnet.com
Go to Question: