Question 5Asked in DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

What does the DROP TABLE command do?

  1. ADeletes a table permanently from the database
  2. BDeletes all records in a table but keeps the structure
  3. CDeletes only duplicate rows in a table
  4. 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.

From DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

This is question 5 of DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.