Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 3

Assignment

1
Assignment-Questions

Identify the following from the case study:

1. Entities
2. Attributes
3. Relationships
4. Primary and foreign Keys
5. Design the database (Relational model / Logical model)

2
Territory
Logical data model for Ten to Ten Stores PK Territory ID
Territory
Operator Type City
State Date
PK Operator ID
PK Date ID
Operator
Outlets
FK1 Date
PK Store ID Day of Week
Week of Month
FK1 Market ID Week of year
Market Type FK2 Operator ID Month Name
FK3 Territory ID Month of Year
PK Market ID Quarter
Opening Time
Market Name Closing Time Year
Store Open Date

Sales Transaction
Sub Category
PK Transaction ID
PK Product sub category ID
Promotion offers
FK1 Transaction Date
FK2 Store ID Sub Category Name
PK Promotion offer ID FK1 Product Category Id
FK3 Product ID
Promotion type Quantity ordered
Discount Amount Total Amount
Complimentary Product
Date of Offer Expiry
Product
PK Product ID Category
Product Offers Product Name PK Product category ID
PK,FK1 Product ID Product Description
FK1 Sub Category ID Category Name
PK,FK2 Promotion offer ID
Date of production
Last Date of Purchase
Current inventory level
Standard Cost
List price
Discontinued
Discontinued date

You might also like