--:--









Quiz for SQL – Data Definition Language (DDL) and Data Manipulation Language (DML)

Course: Database Management System | Subject: Unit 2 | Topic: Relational Model and Relational Algebra



Logo

Q1: Which SQL command is used to create a new table?

Logo

Q2: Which command is used to delete all rows from a table without logging individual row deletions?

Logo

Q3: Which SQL command changes the structure of an existing table?

Logo

Q4: Which DML command is used to add new records to a table?

Logo

Q5: Which DML command modifies existing data in a table?

Logo

Q6: Which SQL command removes a table and its data permanently?

Logo

Q7: Which DDL command defines constraints like PRIMARY KEY?

Logo

Q8: Which clause is used to filter records in SELECT?

Logo

Q9: Which command retrieves data from a database?

Logo

Q10: Which clause sorts the result set?

Logo

Q11: Which command removes specific rows from a table?

Logo

Q12: Which command removes the entire table structure?

Logo

Q13: Which SQL keyword groups rows sharing a property?

Logo

Q14: Which clause filters grouped rows after aggregation?

Logo

Q15: Which SQL command is used to change column values?

Logo

Q16: Which command adds a new column to an existing table?

Logo

Q17: Which command removes a column from a table?

Logo

Q18: Which DDL command modifies the data type of a column?

Logo

Q19: What does the COMMIT command do?

Are you ready to start test? Set your time limit