您的位置:首页 > 数据库 > MySQL

Mysql常用命令

2016-09-01 18:42 447 查看
入门命令

增删改

建表

use ggteaching;
create table User (
UserID smallint Unsigned zerofill not null AUTO_INCREMENT ,
UserName CHAR(15) not null,
UserPassword CHAR(15) not null,
Gender tinyint Unsigned not null,
Icon Blob not null,
Signature CHAR(20) not null,
IsTeacher bool not null,
primary key(UserID),
unique(UserName )
)engine myisam charset utf8;


View Code
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: