Get Started
377

Q:

Which command is used to remove a table from the database in SQL?

  • 1
    DELETE TABLE
  • 2
    DROP TABLE
  • 3
    ERASE TABLE
  • 4
    UNATTACH TABLE
  • Show Answer
  • Workspace

Answer : 2. "DROP TABLE "
Explanation :

In SQL, the DROP TABLE command is used to remove a table from the database. When you execute DROP TABLE, it deletes the table along with all its data, indexes, triggers, constraints, and permissions. It should be used with caution as it permanently removes the table and all associated objects from the database.


The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today