MySQL

MySQL

Mysql -u root -p

Show databases;

Show tables

Desc tablename

 

添加 Add column 可以没有column

更名 change

变更 modify

删除 drop

修改表名 rename to

 

Limit

删除数据truncate

常量列:select a,’nimen’from table

posted @ 2016-08-13 00:26  泥猴桃\n  阅读(103)  评论(0编辑  收藏  举报