MySQL Drop table

MySQL Drop table

MySQL Drop table syntax and examples.

MySQL Drop table syntax

DROP TABLE IF EXISTS table_name;

DROP TABLE table_name;

Drop table if exists example

DROP TABLE IF EXISTS test2;

Output

table IF dropped.

Drop table example

DROP TABLE test3;

Output

table TEST3 dropped.