摘要: 修改表名 alter table 表名 rename to 新表名 修改列名 alter table 表名 change 列名 新列名 char; 删除列表: alter table 表名 drop column 列名 添加列名: alter table 表名 add column 列名 varch 阅读全文
posted @ 2016-10-16 16:14 学生Q 阅读(255) 评论(0) 推荐(0)
摘要: 1.创建数据库create database test2(名称); 2.删除数据库drop database test2(名称); 3.创建表create table ceshi(名称)( ids int auto_increment primary key, uid varchar(20), na 阅读全文
posted @ 2016-10-16 11:43 学生Q 阅读(123) 评论(0) 推荐(0)