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

简单点,不行么?!
原文地址:https://www.cnblogs.com/core404/p/5767014.html