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