A

Admin • 833.24K Points
Coach

Q. Which MySQL command is used to delete a table permanently?

  • (A) DELETE TABLE table_name;
  • (B) DROP TABLE table_name;
  • (C) REMOVE TABLE table_name;
  • (D) TRUNCATE TABLE table_name;
  • Correct Answer - Option(B)
  • Views: 26
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

DROP TABLE removes the table structure and data permanently. TRUNCATE deletes all rows but keeps the structure.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.