English

Which of the following commands will delete the table from the MYSQL database?

Advertisements
Advertisements

Question

Which of the following commands will delete the table from the MYSQL database?

Options

  • DELETE TABLE

  • DROP TABLE

  • REMOVE TABLE

  • ALTER TABLE

MCQ
Advertisements

Solution

DROP TABLE

Explanation:

The drop table command is used to delete a table from the MYSQL database.

Syntax to delete a table from a database:

DROP TABLE table_name ;

So, the correct answer is DROP TABLE.

shaalaa.com
SQL for Data Definition
  Is there an error in this question or solution?
2022-2023 (March) Sample
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×