CBSE Class 12 Computer Science Question 38 of 79

Table Creation and Data Manipulation Commands — Question 12

Back to all questions
12
Question

Question 12

Which command is used for removing a table and all its data from the database :

  1. Create table command
  2. Drop table command
  3. Alter table command
  4. All of these
Answer

Drop table command

Reason — The DROP TABLE command is used to delete a table and all its data from the database. Once this command is given, the table name is no longer recognized and no more commands can be given on the object.