CREATE DATABASE 库名 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
建库
creat table 表名 ( `id` int(11) unsigned primary key auto_increment; `name` varchar(10) not null comment "名字" )engine=innodb charset=utf8 comment="举个栗子";
建表
CREATE DATABASE 库名 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
建库
creat table 表名 ( `id` int(11) unsigned primary key auto_increment; `name` varchar(10) not null comment "名字" )engine=innodb charset=utf8 comment="举个栗子";
建表