Case Study
Case Study
1 a)
Entity-Relationship Model:
city
Address State
Zip
Last_name
Customeromer_Id Customer_Id
Customer
Ordered
for
orders
Items
Price
size
Color
43/1
C01 FEY CHINATOWN COLLEGE BAG 1 NA BLUE Rs.500
12,
MIDDLETON
C02 JOE ROW SHOES 1 38 BLACK Rs.2500
12,
MIDDLETON
C02 JOE ROW JACKET 2 L BLACK Rs.6500
78/1,
LINDSAY
C03 BARBARA STREET DRESS 1 M YELLOW Rs.1500
78/1,
LINDSAY
C03 BARBARA STREET NOTEBOOK 12 M NA Rs.525
2nd table:
CUST_ID ITEMS_OREDRED NO_OF_ITEMS ITEM_SIZE ITEM_CLR ITEM_PRICE
C03 NOTEBOOK 12 M NA
CUST_ID CUST_NAME
C01 FEY
C02 JOE
C02 JOE
C03 BARBARA
C03 BARBARA
2ND TABLE
CUST_ID CUST_NAME CUST_ADD
3RD TABLE
Question 2
2a)
3 season tents 2 items are left in stock.
here ORDER_ID 1 and 6 have ordered items. The item colors are SKY BLUE and LIGHT
GREY.
2b)
First Name: SHELLA
Last Name: LEWIS
customer id: 5 lives in Georgia State, zip code 37812.
2c)
4 customers have placed an order in May 2006.
The dates are:
5/29/2006
5/29/2006
5/31/2006
5/31/2006.
2d)
Questions 3:
The primary key could be (Customer_ID)
Contact_No
Specification
Item ID Size Color
C01 M blue
C02 M …..
C02 L Green