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