Reference no: EM133361379
Assignment:
Question
Consider the case of a local clothing sales chain that is selling a variety of clothing items online for home delivery. The restaurant wants to analyze information about food sales, including:
i) Location;
ii) Customer;
iii) DateTime of Sale;
iii) Amount of Sale,
iv) Items in Order;
v) Order Method (e.g., phone vs. Web);
vi) Designer;
vii) Colour;
viii) Type of Clothing (e.g., coat, pants, shirt, socks);
ix) Special Needs (e.g., fabric allergies, no animal products)
(a) Draw a typical 'snowflake' schema using the "Crow's Feet" notation for a relational database in which facts associated with product sales are stored. Make sure you use clear table names to show the type of data stored in each table and indicate the relationships between tables (including all keys and foreign keys). Make sure you include dimensions that could help support queries based on WHO, WHAT, WHERE, WHY, WHEN, and HOW.
(b) What attributes would be associated with the main fact table in the schema for part (a)?