#2
cjmf3222022-07-30 16:51
|
use student
create table student
( sno char(8) not null primary key ,
sname char (10) not null ,
gender char(2) null ,default '男' ,check (gender='男'
or gender='女'),
sbirth date,
major char (30),
credit int check ( credit>=0 and credit<120),
remark varchar (200)
)