Skip to content

DROP TABLE

Description

Deletes the table.

Syntax

> DROP TABLE [IF EXISTS] [db.]name

Examples

CREATE TABLE table01(a int);

mysql> DROP TABLE table01;
Query OK, 0 rows affected (0.01 sec)