mysql命令行中包含table
的命令
- create
mysql> create table test(id int not null );
Query OK, 0 rows affected (0.15 sec)
- alter
mysql> alter table t add column name varchar(20);
Query OK, 0 rows affected (0.34 sec)
Records: 0 Duplicates: 0 Warnings: 0
- rename
mysql> create table test(id int not null );
Query OK, 0 rows affected (0.15 sec)
- drop
mysql> drop table t;
Query OK, 0 rows affected (0.13 sec)