/*==============================================================*/ /* Table: Bookstore */
/*==============================================================*/ create table Bookstore
(
storeId char(6) not null,
storename varchar(30),
Address varchar(60),
city varchar(20),
prevence varchar(20),
code char(6),
primary key (storeId)
);
/*==============================================================*/ /* Table: address */
/*==============================================================*/ create table address
(
AddressType char(2),
CustomerID varchar(10),
Address1 varchar(50),
Address2 varchar(50),
City varchar(20),
State varchar(15),
zipcode char(6) not null,
primary key (zipcode)
);
/*==============================================================*/ /* Table: buybook */
/*==============================================================*/ create table buybook
(
CustomerID varchar(10) not null,
storeId char(6),
primary key (CustomerID)
);
/*==============================================================*/ /* Table: customer */
/*==============================================================*/ create table customer
(
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说教育文库重庆邮电大学数据库实验报告(2)在线全文阅读。
相关推荐: