1、(1)创建数据库
create database MMK;
(2)创建Student表
create table Student
(Sno char(8) primary key,
Sname varchar(5) not null,
Ssex char(5) check (Ssex in ('男','女')),
Sage smallint,
Sdept varchar(10);
(3)创建Course表
create table Course
(Cno char(1) primary key,
Cname