delete table in mysql db code example Example 1: drop table in mysql DROP TABLE table_name; Example 2: to delete a table in mysl drop table table_name;