Question 5Asked in DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)What does the DROP TABLE command do?
- ADeletes a table permanently from the database
- BDeletes all records in a table but keeps the structure
- CDeletes only duplicate rows in a table
- DRestores deleted data from the table
Show answerHide answer
Correct answer: (A) Deletes a table permanently from the database
Explanation
DROP TABLE removes the table's structure and all its data from the database permanently. TRUNCATE is the command that empties a table but keeps it.