基础至极
1.创建表
create table Course(
Cno char(4) primary key not null, --创建主键,非空
Cname char(40) not null,
Cpno char(4),
Ccredit smallint,
primary key(Cno,Cname), --双主键
foreign key(Cpno
基础至极
1.创建表
create table Course(
Cno char(4) primary key not null, --创建主键,非空
Cname char(40) not null,
Cpno char(4),
Ccredit smallint,
primary key(Cno,Cname), --双主键
foreign key(Cpno