Informatics Practices

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

SQL Queries

5 Likes

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

3 Likes


Related Questions