Informatics Practices

What is the purpose of DROP TABLE command in MySql ? How is it different from DELETE command ?

SQL Queries

1 Like

Answer

The DROP TABLE command in MySql is used to permanently delete an entire table from the database, including its structure, data, indexes, triggers, and constraints. The DELETE command, on the other hand, is used to remove specific rows or all rows from a table, leaving the table structure intact.

Answered By

1 Like


Related Questions