56,679
社区成员
发帖
与我相关
我的任务
分享
Use bkstore;
Drop table if exists bk;
Drop table if exists mb;
Drop table if exists sel;
Create table bk (
书号 char(20) not null,
书名 varchar(40) not null,
单价 float(5) not null
);
Create table mb (
身份证号 char(18) not null,
会员密码 char(6) not null,
会员姓名 char(10) not null
);
Create table sel (
身份证号 char(18) not null,
书号 char(20) not null,
订购数量 int(5) not null,
订购单价 float(5) not null,
订购金额 float(5)
);