摘要:
建库create database 库名选择库use 库名;显示数据库中的所有表show tables;显示数据库中的一个表show create table 表名;创建表create table 表名;删除表drop table 表名;添加列alter table 表名 add column 列名 not null ;修改列alter table 表名 modify column 列名 not null;添加主键alter table 表名 add primary key (列名);删除主键alter table 表名 dropprimary key;添加索引alter table 表名 a 阅读全文
posted @ 2012-11-07 16:48
赵治鲁
阅读(154)
评论(0)
推荐(0)