SQL CREATE TABLE

SQL CREATE TABLE is used to create a table.

Syntax

CREATE TABLE table_name

Example

mysql> CREATE TABLE `new_users` (`id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, PRIMARY KEY (`id`));

Query OK, 0 rows affected (0.09 sec)