摘要: 1.创建数据库create database test2; 2.删除数据库drop database test2; 3.创建表create table ceshi( ids int auto_increment primary key, uid varchar(20), name varchar(2 阅读全文
posted @ 2016-10-17 11:17 不见晨曦的占星师 阅读(256) 评论(0) 推荐(0) 编辑
摘要: alter table 现表名 rename 修改后表名; --修改表名 alter table 表名 add column 列名 类型(长度); --添加表列 alter table 表名 drop column 列名; --删除表列 alter table 表名 modify 列名 类型(长度) 阅读全文
posted @ 2016-10-17 10:49 不见晨曦的占星师 阅读(208) 评论(0) 推荐(0) 编辑