创建表
CREATE TABLE
tableName
1
2
3
4
5mysql> CREATE TABLE person (
number INT(11),
name VARCHAR(255),
birthday DATE
);CREATE TABLE IF NOT EXISTS
tableName
1
2
3
4
5mysql> CREATE TABLE IF NOT EXISTS person (
number INT(11),
name VARCHAR(255),
birthday DATE
);
删除表
DROP TABLE
tableName
1
mysql> DROP TABLE tbl_name;
DROP TABLE IF EXISTS
tableName
1
mysql> DROP TABLE IF EXISTS tbl_name;