一.创建stusys 数据库
create database stusys;
use stusys;
create table student
(
sno char(6) not null primary key comment"学号",
sname char(8) not null comment"姓名",
ssex char(2) not null default"男" comment"性别",
sbirthday date not null comment"出生日期",
speciality char(12) null comment"专业",
tc tinyint null comment"总学分"
)comment "student";
show columns from student;
创建course表