The DROP TABLE statement is used to drop an existing table in a database.
DROP TABLE table_name;Note: Be careful before dropping a table. Deleting a table will result in loss of complete information stored in the table!
The TRUNCATE TABLE statement is used to delete the data inside a table, but not the table itself.
Edit the code below and click Run to see the result live.