Test Index
CBSE Class 12 Computer Science 2025 Paper Compartment
© examsnet.com
Question : 13 of 37
Marks:
+1,
-0
Write any two DDL commands.
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: