/*==============================================================*/ /* 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
(