摘要: 修改表 修改字段 alter table TableName modify 字段名 列类型【属性】 alter table TableName change 旧字段 新字段 列类型【属性】 修改表名 alter table tablename rename newname; 修改字段/列名 alte 阅读全文
posted @ 2017-10-12 10:21 Yif.Z 阅读(179) 评论(0) 推荐(0)
摘要: 创建数据库 create database XXXX;. 创建数据表 create table subject( subjectNo int(11) primary key auto_increment not null comment '课程编号', subjectName varchar(50) 阅读全文
posted @ 2017-10-12 08:46 Yif.Z 阅读(128) 评论(0) 推荐(0)