1.商超E-R图
2.数据表
3.SQL Sever脚本代码
(
id int PRIMARY KEY,
number varchar(50),
place varchar(50),
area varchar(50),
)
CREATE TABLE SP
(
id int primary key,
number varchar(50),
name varchar(50),
price varchar(50),
ckid int,
constraint fk1 foreign key (ckid) references ck(id)
)