create table course
(
courseid varchar(15),
coursename varchar(50),
introduction varchar(100),
xueshi varchar(10),
xuefen varchar(10),
classroom varchar(20),
classtime timestamp,
teachername varchar(10),
primary key(courseid,coursename,teachername),
foreign key(teachername) references teacher(teachername)
)
create table teacher
(
teacherid varchar(15),
teachername varchar(10),
tsex varchar(2),
tage varchar(4),
jiaoling varchar(4),
zhicheng varchar(50),
tintroduce varchar(100),
primary key(teacherid,teachername)
)
评论20
最新资源