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