SlideShare a Scribd company logo
1 of 33
DBS201 Asst 3 (10% of final mark)
Normalization of CanAmazing.com Starting With User Views
Due Date: Friday Dec 6, 2013
Hand in your printed solution of this assignment. Email
submissions will not be accepted.
Late assignments incur a penalty of 20% per “working day”.
Assignment is to be done in groups of 2 or 3. An assignment
done by a single person will incur a penalty of 20%.
All group members must sign the assignment submission form
at: Assignment Submission Form.
1) Assignments will be marked on
a)
Correctness - All 3NF relations have been identified with
correct attributes, Primary Keys and all Foreign Keys.
b)
Meaningfulness - use of meaningful relation (table) and
attribute names .
c)
Relations must be shown in alphabetic order when requested
(i.e. after step 2.6 for each user view and after step 7).
d)
All tables must be named according to their Primary Key.
TO HAND-IN
2)
For each user view please provide:
2.1) The UNF relation including the Primary Key and Multi-
Valued Dependencies.
2.2) The 1st Normal Form by converting the UNF to 1NF.
2.3) The 2nd Normal Form by converting the 1NF to 2NF.
2.4) The 3rd Normal Form by converting the 2NF to 3NF.
2.5) Simplify primary keys wherever possible and show any
relations that changed. (Note: usually no simplification is
possible)
2.6) Name the relations (tables) and provide the final list of
recommended tables from this User View.
NOTE: When showing the results of step 2.6, the tables must be
shown in alphabetic order by table name!
3)
Merge all 3rd Normal Form relations from steps 2.6 which arise
from the six User Views.4)
If any of the merged relations is in 2nd Normal Form (i.e. it has
a transtive dependancy), convert it to 3rd Normal Form.5)
Perform any new merging opportunities and repeat steps 4 and 5
until there are no more merging or 2NF-to-3NF conversions
possible.
6)
Identify all Foreign Keys
7)
Explode multi-field attributes into many fields and list your
final list of tables that you recommend for the CanAmazing.com
database.
NOTE: When showing the results of step 7, the tables must be
shown in alphabetic order by table name!
CanAmazing.com
CanAmazing.com is an internet based company that sells books
of all types. It is a great Canadian success story. There are hard
cover books, paperpback books, audio books, downloadable
books and various other types of books as well.
The following 6 user views allow you to understand their
business. By using normalization you will be able to
recommend the best database design. The database you
recommend will be free of data redundancies and data
inconsistencies as well as update, insert and deletion anomalies.
Hints: The final answer has approximately 14-16 tables.
The final answer has approximately 10-12 tables having a 1-part
Primary Key.
The final answer has approximately 3-4 tables having a 2-part
Primary Key.
The final answer has approximately 14-16 single-attribute
Foreign Keys.I hope you will enjoy this assignment:
UV#1
CANAMAZING.COM
BOOKS BY ISBN
CURRENT
OUR
SELL
BOOK
LENGTH
ISBN#
TITLE
COST
PRICE CATEG
FORMAT
PAGES MINS
9780310205715
THE PURPOSE DRIVEN LIFE
23.53
32.99
17-MOTIVATIONAL
2-HARD COVER
334
9780310258171
THE PURPOSE DRIVEN LIFE
14.82
20.99
17-MOTIVATIONAL
8-AUDIO CD
48
ABRIDGED
9780310258971
THE PURPOSE DRIVEN LIFE
9.64
13.99
17-MOTIVATIONAL
1-PAPERBACK
376
9780310258983
THE PURPOSE DRIVEN LIFE
14.82
20.99
17-MOTIVATIONAL
9-AUDIO CD
77
UNABRIDGED
9780310270600
THE PURPOSE DRIVEN LIFE
3.75
5.99
17-MOTIVATIONAL
5-AUDIO
DOWNLOAD
77
9781416513285
THE PURSUIT OF HAPPINESS
12.02
16.99 21-HEALTH, MIND
1-PAPERBACK
221
AND BODY
9781880000731
PURPLE FLOWERS FROM
16.84
23.99 1-FICTION
2-HARD COVER
301
_____________________________________________________
_____________________________________________________
______________
PAGE 89 OF 188
UV#2
CANAMAZING.COM
LIST of CURRENT (UNPAID) INVOICES BY CUSTOMER
UNIT .
PRICE
OWNER OF
THIS
CUSTOMER
ADDRESS
INV# DATE
ISBN
PUBLISHER
PUBLISHER
QTY INVOICE
C00452 – Ron Beetle
194 Dundas Street
I-1900 03/05/12 9781416513285
#097 Victor Books
#21-CanWest Media
1
14.44
Toronto, ON
M9G 2B9
9781880000731
#121 Young Books
#19-American Media
2
20.00
Corporation
I-1946 03/06/12 9780310258971
#311 Zondervan
#21-CanWest Media
1
12.44
C00453 - Henry Ford
299 Manchester St.
I-1192 03/05/12 9780310205715
#097 Victor Books
#21- CanWest Media
1
29.44
Toronto, ON
M4J 2A8
C00454 – Jane Buick
1820 St. John Street
I-0167 02/01/12 9780310270600 #097 Victor Books
#21-CanWest Media
1
5.44
Apartment #3
Toronto, ON
M4K 2B9
9781880000731
#121 Young Books
#19-American Media 3
18.50
Corporation
_____________________________________________________
_____________________________________________________
______________.
Page 67 of 128
UV#3
CANAMAZING.COM
BOOK PRIZES
Book
Prize
Prize
ISBN
Title
Amount
Author
.
Annual Presentation Los Angeles
9781416513285
THE PURSUIT OF HAPPINESS
$55,000.
May Looking
Times Book Prize
Kiriyama-Leno Pacific Rim
9780310205715
THE ASSOCIATE
$235,000.
John Grisham
Book Prize
Man Booker International
9780743296410
HANDLE WITH MUCH CARE
$145,000.
Jodi Picoult
Prize
National Book Critics Circle
9780310205715
THE ASSOCIATE
$100,000.
John Grisham
Awards
Page 13 of 22
_____________________________________________________
_____________________________________________________
______________.
Note: CanAmazing.com keeps track of the current year’s
winners only. On Jan 1 of the new year the prize information is
copied to a “historical” database to make room for current year
prizes. After copying, the information for each prize is set to
null. Do not include any tables or attributes for any historical
data.
UV#4
CANAMAZING.COM
AUTHORS, BOOKS AND ACCOMPLISHMENTS
.
YEAR OF THE
DATE
THIS AUTHOR FIRST BOOK
OF
MILLION
HAS WRITTEN WRITTEN IN
AUTHORBIRTHSOLD(Y/N)BOOKSCATEGORYBOOKS IN
THIS LANGUAGE
1009- John Grisham
03/03/1953
Y
The Associate
1-Fiction
English
1982
Hitler’s Years
5-History
Italian
1984
Una Littera da Parigi
1-Fiction
1042- Tom Dooley
07/09/1969
N
Abe Lincoln: Building A Nation
5-History
English
2003
America’s Economic Collapse
6-Politics
French
1999
Napoleon Apres La Guerre Waterloo
5-History
The Real Canadian Challenge
6- Politics
Le Schism Civile du Sudan
6-Politics
2114- Harry Oduro
06/12/1973
Y
Your Best – Always
17-Motivational
Arabic
2003
English
1998
French
1999
Swahili
2001
Urdu
2003
Page 29 of 57
.
UV#5
CANAMAZING.COM - INVOICE
Invoice #: I-2804
Date: 2012-03-29
Customer #: C00455 Mr. Paul Smith, 3194 Bloor Street,
Toronto, ON M7T 3W3
Quantity
ISBN
Title
Warehouse
Book
Unit Price
This
Invoice
Charge
Shipping
Option
Total
Shipping
Charges
This Book
Line
Total
2
9781416513285
THE PURSUIT OF HAPPINESS
W12 – Montreal
16.99
33.98
4- Next
Day
3.18
37.16
2
9781880000731
PURPLE FLOWERS FROM GRAMA’S GARDEN
W12 – Montreal
23.99
47.98
1-Parcel
Post
1.38
49.36
4
9780310258983
THE PURPOSE DRIVEN LIFE
W14 -Toronto
20.99
83.96
4- Next
Day
6.36
90.32
2
9780310258983
THE PURPOSE DRIVEN LIFE
W12 – Montreal
20.99
41.98
2-Within 5
Days
1.98
43.96
.
.
Shipping Options:
Opt # Cost per Item. Guarantee .
1: $0.69 Parcel Post
2: $0.99 Received within 5 days
3: $1.29 Received Within 3 days
4: $1.59 Received Next Day
Total
$220.80
HST(13%)
$28.70
Grand Total Owing
$249.50
UV#6
CANAMAZING.COM
INVOICE HISTORY (PAID AND UNPAID) BY CUSTOMER
SEPTEMBER 1, 2011 – DECEMBER 31, 2011
SHIPPING UNIT
CHARGES PRICE
FOR EACH THIS
CUSTOMER
ADDRESS
INV# DATE
ISBN
TITLE
QTY BOOK INVOICE
C00452 – Ron Beetle
194 Dundas Street
I-1900 03/05/12 9781416513285
The Pursuit Of Happiness
1
1.24
14.44
[email protected]
Toronto, ON
M9G 2B9
9781880000731
Purple Flowers From
2
1.54 20.00
Grama’s Garden
I-1946 03/06/12 9780310258971
The Purpose Driven Life
1
1.24 12.44
C00453 - Henry Ford
299 Manchester St.
I-0417 02/20/12 9780310205715
The Purpose Driven Life
1
1.54 29.34
[email protected]
Toronto, ON
M4J 2A8
I-0882 02/28/12 9780310270600 The Purpose Driven Life
1
0.00 5.44
9781880000731
Purple Flowers From
3
1.54
18.50
Grama’s Garden
I-1192 03/05/12 9780310205715
The Purpose Driven Life
1
1.24
29.44
Page 93 of 128

More Related Content

More from MARRY7

Part 1 Using the internet, search for commercial IDPS systems. What.docx
Part 1 Using the internet, search for commercial IDPS systems. What.docxPart 1 Using the internet, search for commercial IDPS systems. What.docx
Part 1 Using the internet, search for commercial IDPS systems. What.docxMARRY7
 
Part 1- Create an outline of the assignment below thenPart 2-1000 .docx
Part 1- Create an outline of the assignment below thenPart 2-1000 .docxPart 1- Create an outline of the assignment below thenPart 2-1000 .docx
Part 1- Create an outline of the assignment below thenPart 2-1000 .docxMARRY7
 
Part 1 Review QuestionsWhat is the difference between criminal la.docx
Part 1 Review QuestionsWhat is the difference between criminal la.docxPart 1 Review QuestionsWhat is the difference between criminal la.docx
Part 1 Review QuestionsWhat is the difference between criminal la.docxMARRY7
 
Part 1 Review QuestionsWhat is the difference between authenticat.docx
Part 1 Review QuestionsWhat is the difference between authenticat.docxPart 1 Review QuestionsWhat is the difference between authenticat.docx
Part 1 Review QuestionsWhat is the difference between authenticat.docxMARRY7
 
Part 1 SQLDatabase workScenarioDevelopment of a relationa.docx
Part 1 SQLDatabase workScenarioDevelopment of a relationa.docxPart 1 SQLDatabase workScenarioDevelopment of a relationa.docx
Part 1 SQLDatabase workScenarioDevelopment of a relationa.docxMARRY7
 
Part 1 Review QuestionsWhat functions constitute a complete infor.docx
Part 1 Review QuestionsWhat functions constitute a complete infor.docxPart 1 Review QuestionsWhat functions constitute a complete infor.docx
Part 1 Review QuestionsWhat functions constitute a complete infor.docxMARRY7
 
Part 1A persons lifestyle has a significant influence on the p.docx
Part 1A persons lifestyle has a significant influence on the p.docxPart 1A persons lifestyle has a significant influence on the p.docx
Part 1A persons lifestyle has a significant influence on the p.docxMARRY7
 
Part 1 Review QuestionsWhat is the definition of information secu.docx
Part 1 Review QuestionsWhat is the definition of information secu.docxPart 1 Review QuestionsWhat is the definition of information secu.docx
Part 1 Review QuestionsWhat is the definition of information secu.docxMARRY7
 
Part 1 Review QuestionsWhat is a security modelWhat are the es.docx
Part 1 Review QuestionsWhat is a security modelWhat are the es.docxPart 1 Review QuestionsWhat is a security modelWhat are the es.docx
Part 1 Review QuestionsWhat is a security modelWhat are the es.docxMARRY7
 
Part 1 Listed below are several key Supreme Court decisions that .docx
Part 1 Listed below are several key Supreme Court decisions that .docxPart 1 Listed below are several key Supreme Court decisions that .docx
Part 1 Listed below are several key Supreme Court decisions that .docxMARRY7
 
Part 1 Infrastructure DesignCreate an 8–10-page infrastructur.docx
Part 1 Infrastructure DesignCreate an 8–10-page infrastructur.docxPart 1 Infrastructure DesignCreate an 8–10-page infrastructur.docx
Part 1 Infrastructure DesignCreate an 8–10-page infrastructur.docxMARRY7
 
part 1 I attended an international conference on Biotechnology and .docx
part 1 I attended an international conference on Biotechnology and .docxpart 1 I attended an international conference on Biotechnology and .docx
part 1 I attended an international conference on Biotechnology and .docxMARRY7
 
Part 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docx
Part 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docxPart 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docx
Part 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docxMARRY7
 
Parent Involvement Plan This week you will create a Parent Involve.docx
Parent Involvement Plan This week you will create a Parent Involve.docxParent Involvement Plan This week you will create a Parent Involve.docx
Parent Involvement Plan This week you will create a Parent Involve.docxMARRY7
 
Parenting Practices Over GenerationsGeneration 1 Years children.docx
Parenting Practices Over GenerationsGeneration 1 Years children.docxParenting Practices Over GenerationsGeneration 1 Years children.docx
Parenting Practices Over GenerationsGeneration 1 Years children.docxMARRY7
 
ParamsThe interface must be pleasing to look at (a basic form wit.docx
ParamsThe interface must be pleasing to look at (a basic form wit.docxParamsThe interface must be pleasing to look at (a basic form wit.docx
ParamsThe interface must be pleasing to look at (a basic form wit.docxMARRY7
 
ParamsThe interface must be pleasing to look at. There must be .docx
ParamsThe interface must be pleasing to look at. There must be .docxParamsThe interface must be pleasing to look at. There must be .docx
ParamsThe interface must be pleasing to look at. There must be .docxMARRY7
 
PART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docx
PART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docxPART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docx
PART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docxMARRY7
 
Park Company reported the following March purchases and sales data f.docx
Park Company reported the following March purchases and sales data f.docxPark Company reported the following March purchases and sales data f.docx
Park Company reported the following March purchases and sales data f.docxMARRY7
 
PART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docx
PART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docxPART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docx
PART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docxMARRY7
 

More from MARRY7 (20)

Part 1 Using the internet, search for commercial IDPS systems. What.docx
Part 1 Using the internet, search for commercial IDPS systems. What.docxPart 1 Using the internet, search for commercial IDPS systems. What.docx
Part 1 Using the internet, search for commercial IDPS systems. What.docx
 
Part 1- Create an outline of the assignment below thenPart 2-1000 .docx
Part 1- Create an outline of the assignment below thenPart 2-1000 .docxPart 1- Create an outline of the assignment below thenPart 2-1000 .docx
Part 1- Create an outline of the assignment below thenPart 2-1000 .docx
 
Part 1 Review QuestionsWhat is the difference between criminal la.docx
Part 1 Review QuestionsWhat is the difference between criminal la.docxPart 1 Review QuestionsWhat is the difference between criminal la.docx
Part 1 Review QuestionsWhat is the difference between criminal la.docx
 
Part 1 Review QuestionsWhat is the difference between authenticat.docx
Part 1 Review QuestionsWhat is the difference between authenticat.docxPart 1 Review QuestionsWhat is the difference between authenticat.docx
Part 1 Review QuestionsWhat is the difference between authenticat.docx
 
Part 1 SQLDatabase workScenarioDevelopment of a relationa.docx
Part 1 SQLDatabase workScenarioDevelopment of a relationa.docxPart 1 SQLDatabase workScenarioDevelopment of a relationa.docx
Part 1 SQLDatabase workScenarioDevelopment of a relationa.docx
 
Part 1 Review QuestionsWhat functions constitute a complete infor.docx
Part 1 Review QuestionsWhat functions constitute a complete infor.docxPart 1 Review QuestionsWhat functions constitute a complete infor.docx
Part 1 Review QuestionsWhat functions constitute a complete infor.docx
 
Part 1A persons lifestyle has a significant influence on the p.docx
Part 1A persons lifestyle has a significant influence on the p.docxPart 1A persons lifestyle has a significant influence on the p.docx
Part 1A persons lifestyle has a significant influence on the p.docx
 
Part 1 Review QuestionsWhat is the definition of information secu.docx
Part 1 Review QuestionsWhat is the definition of information secu.docxPart 1 Review QuestionsWhat is the definition of information secu.docx
Part 1 Review QuestionsWhat is the definition of information secu.docx
 
Part 1 Review QuestionsWhat is a security modelWhat are the es.docx
Part 1 Review QuestionsWhat is a security modelWhat are the es.docxPart 1 Review QuestionsWhat is a security modelWhat are the es.docx
Part 1 Review QuestionsWhat is a security modelWhat are the es.docx
 
Part 1 Listed below are several key Supreme Court decisions that .docx
Part 1 Listed below are several key Supreme Court decisions that .docxPart 1 Listed below are several key Supreme Court decisions that .docx
Part 1 Listed below are several key Supreme Court decisions that .docx
 
Part 1 Infrastructure DesignCreate an 8–10-page infrastructur.docx
Part 1 Infrastructure DesignCreate an 8–10-page infrastructur.docxPart 1 Infrastructure DesignCreate an 8–10-page infrastructur.docx
Part 1 Infrastructure DesignCreate an 8–10-page infrastructur.docx
 
part 1 I attended an international conference on Biotechnology and .docx
part 1 I attended an international conference on Biotechnology and .docxpart 1 I attended an international conference on Biotechnology and .docx
part 1 I attended an international conference on Biotechnology and .docx
 
Part 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docx
Part 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docxPart 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docx
Part 1 Chapter 7 Summary plus end of chapter discussion of Alfred.docx
 
Parent Involvement Plan This week you will create a Parent Involve.docx
Parent Involvement Plan This week you will create a Parent Involve.docxParent Involvement Plan This week you will create a Parent Involve.docx
Parent Involvement Plan This week you will create a Parent Involve.docx
 
Parenting Practices Over GenerationsGeneration 1 Years children.docx
Parenting Practices Over GenerationsGeneration 1 Years children.docxParenting Practices Over GenerationsGeneration 1 Years children.docx
Parenting Practices Over GenerationsGeneration 1 Years children.docx
 
ParamsThe interface must be pleasing to look at (a basic form wit.docx
ParamsThe interface must be pleasing to look at (a basic form wit.docxParamsThe interface must be pleasing to look at (a basic form wit.docx
ParamsThe interface must be pleasing to look at (a basic form wit.docx
 
ParamsThe interface must be pleasing to look at. There must be .docx
ParamsThe interface must be pleasing to look at. There must be .docxParamsThe interface must be pleasing to look at. There must be .docx
ParamsThe interface must be pleasing to look at. There must be .docx
 
PART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docx
PART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docxPART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docx
PART 1 (250 WORDS)The Unit 8 Seminar focuses on integrating creati.docx
 
Park Company reported the following March purchases and sales data f.docx
Park Company reported the following March purchases and sales data f.docxPark Company reported the following March purchases and sales data f.docx
Park Company reported the following March purchases and sales data f.docx
 
PART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docx
PART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docxPART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docx
PART 1 (100 WORDS)How can an Early Childhood Care Professional fac.docx
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 

DBS201 Asst 3 (10 of final mark)Normalization of CanAma.docx

  • 1. DBS201 Asst 3 (10% of final mark) Normalization of CanAmazing.com Starting With User Views Due Date: Friday Dec 6, 2013 Hand in your printed solution of this assignment. Email submissions will not be accepted. Late assignments incur a penalty of 20% per “working day”. Assignment is to be done in groups of 2 or 3. An assignment done by a single person will incur a penalty of 20%. All group members must sign the assignment submission form at: Assignment Submission Form. 1) Assignments will be marked on a) Correctness - All 3NF relations have been identified with correct attributes, Primary Keys and all Foreign Keys. b) Meaningfulness - use of meaningful relation (table) and attribute names . c) Relations must be shown in alphabetic order when requested (i.e. after step 2.6 for each user view and after step 7). d) All tables must be named according to their Primary Key.
  • 2. TO HAND-IN 2) For each user view please provide: 2.1) The UNF relation including the Primary Key and Multi- Valued Dependencies. 2.2) The 1st Normal Form by converting the UNF to 1NF. 2.3) The 2nd Normal Form by converting the 1NF to 2NF. 2.4) The 3rd Normal Form by converting the 2NF to 3NF. 2.5) Simplify primary keys wherever possible and show any relations that changed. (Note: usually no simplification is possible) 2.6) Name the relations (tables) and provide the final list of recommended tables from this User View. NOTE: When showing the results of step 2.6, the tables must be shown in alphabetic order by table name! 3) Merge all 3rd Normal Form relations from steps 2.6 which arise from the six User Views.4) If any of the merged relations is in 2nd Normal Form (i.e. it has a transtive dependancy), convert it to 3rd Normal Form.5) Perform any new merging opportunities and repeat steps 4 and 5 until there are no more merging or 2NF-to-3NF conversions possible. 6) Identify all Foreign Keys
  • 3. 7) Explode multi-field attributes into many fields and list your final list of tables that you recommend for the CanAmazing.com database. NOTE: When showing the results of step 7, the tables must be shown in alphabetic order by table name! CanAmazing.com CanAmazing.com is an internet based company that sells books of all types. It is a great Canadian success story. There are hard cover books, paperpback books, audio books, downloadable books and various other types of books as well. The following 6 user views allow you to understand their business. By using normalization you will be able to recommend the best database design. The database you recommend will be free of data redundancies and data inconsistencies as well as update, insert and deletion anomalies. Hints: The final answer has approximately 14-16 tables. The final answer has approximately 10-12 tables having a 1-part Primary Key. The final answer has approximately 3-4 tables having a 2-part Primary Key. The final answer has approximately 14-16 single-attribute Foreign Keys.I hope you will enjoy this assignment: UV#1 CANAMAZING.COM BOOKS BY ISBN CURRENT OUR SELL
  • 4. BOOK LENGTH ISBN# TITLE COST PRICE CATEG FORMAT PAGES MINS 9780310205715 THE PURPOSE DRIVEN LIFE 23.53 32.99 17-MOTIVATIONAL 2-HARD COVER 334 9780310258171 THE PURPOSE DRIVEN LIFE 14.82 20.99 17-MOTIVATIONAL 8-AUDIO CD 48
  • 5. ABRIDGED 9780310258971 THE PURPOSE DRIVEN LIFE 9.64 13.99 17-MOTIVATIONAL 1-PAPERBACK 376 9780310258983 THE PURPOSE DRIVEN LIFE 14.82 20.99 17-MOTIVATIONAL 9-AUDIO CD 77
  • 6. UNABRIDGED 9780310270600 THE PURPOSE DRIVEN LIFE 3.75 5.99 17-MOTIVATIONAL 5-AUDIO DOWNLOAD 77 9781416513285 THE PURSUIT OF HAPPINESS 12.02 16.99 21-HEALTH, MIND 1-PAPERBACK 221 AND BODY
  • 7. 9781880000731 PURPLE FLOWERS FROM 16.84 23.99 1-FICTION 2-HARD COVER 301 _____________________________________________________ _____________________________________________________ ______________ PAGE 89 OF 188 UV#2 CANAMAZING.COM LIST of CURRENT (UNPAID) INVOICES BY CUSTOMER UNIT .
  • 9. PUBLISHER QTY INVOICE C00452 – Ron Beetle 194 Dundas Street I-1900 03/05/12 9781416513285 #097 Victor Books #21-CanWest Media 1 14.44 Toronto, ON M9G 2B9 9781880000731 #121 Young Books #19-American Media 2 20.00
  • 10. Corporation I-1946 03/06/12 9780310258971 #311 Zondervan #21-CanWest Media 1 12.44 C00453 - Henry Ford 299 Manchester St. I-1192 03/05/12 9780310205715 #097 Victor Books #21- CanWest Media 1
  • 11. 29.44 Toronto, ON M4J 2A8 C00454 – Jane Buick 1820 St. John Street I-0167 02/01/12 9780310270600 #097 Victor Books #21-CanWest Media 1 5.44 Apartment #3 Toronto, ON M4K 2B9
  • 12. 9781880000731 #121 Young Books #19-American Media 3 18.50 Corporation _____________________________________________________ _____________________________________________________ ______________.
  • 13. Page 67 of 128 UV#3 CANAMAZING.COM BOOK PRIZES Book Prize Prize
  • 14. ISBN Title Amount Author . Annual Presentation Los Angeles 9781416513285 THE PURSUIT OF HAPPINESS $55,000. May Looking Times Book Prize Kiriyama-Leno Pacific Rim 9780310205715
  • 15. THE ASSOCIATE $235,000. John Grisham Book Prize Man Booker International 9780743296410 HANDLE WITH MUCH CARE $145,000. Jodi Picoult Prize National Book Critics Circle 9780310205715 THE ASSOCIATE $100,000. John Grisham Awards
  • 16. Page 13 of 22 _____________________________________________________ _____________________________________________________ ______________. Note: CanAmazing.com keeps track of the current year’s winners only. On Jan 1 of the new year the prize information is copied to a “historical” database to make room for current year prizes. After copying, the information for each prize is set to null. Do not include any tables or attributes for any historical data.
  • 17. UV#4 CANAMAZING.COM AUTHORS, BOOKS AND ACCOMPLISHMENTS . YEAR OF THE DATE
  • 18. THIS AUTHOR FIRST BOOK OF MILLION HAS WRITTEN WRITTEN IN AUTHORBIRTHSOLD(Y/N)BOOKSCATEGORYBOOKS IN THIS LANGUAGE 1009- John Grisham 03/03/1953 Y The Associate 1-Fiction English 1982
  • 19. Hitler’s Years 5-History Italian 1984 Una Littera da Parigi 1-Fiction 1042- Tom Dooley 07/09/1969 N Abe Lincoln: Building A Nation 5-History English
  • 20. 2003 America’s Economic Collapse 6-Politics French 1999 Napoleon Apres La Guerre Waterloo 5-History The Real Canadian Challenge 6- Politics Le Schism Civile du Sudan 6-Politics 2114- Harry Oduro
  • 21. 06/12/1973 Y Your Best – Always 17-Motivational Arabic 2003 English 1998
  • 24. UV#5 CANAMAZING.COM - INVOICE Invoice #: I-2804 Date: 2012-03-29 Customer #: C00455 Mr. Paul Smith, 3194 Bloor Street, Toronto, ON M7T 3W3 Quantity ISBN Title Warehouse Book Unit Price This Invoice Charge Shipping Option Total Shipping Charges This Book Line Total 2 9781416513285
  • 25. THE PURSUIT OF HAPPINESS W12 – Montreal 16.99 33.98 4- Next Day 3.18 37.16 2 9781880000731 PURPLE FLOWERS FROM GRAMA’S GARDEN W12 – Montreal 23.99 47.98 1-Parcel Post 1.38 49.36 4 9780310258983 THE PURPOSE DRIVEN LIFE W14 -Toronto 20.99 83.96 4- Next Day 6.36
  • 26. 90.32 2 9780310258983 THE PURPOSE DRIVEN LIFE W12 – Montreal 20.99 41.98 2-Within 5 Days 1.98 43.96 . . Shipping Options: Opt # Cost per Item. Guarantee . 1: $0.69 Parcel Post 2: $0.99 Received within 5 days 3: $1.29 Received Within 3 days
  • 27. 4: $1.59 Received Next Day Total $220.80
  • 28. HST(13%) $28.70 Grand Total Owing $249.50 UV#6 CANAMAZING.COM INVOICE HISTORY (PAID AND UNPAID) BY CUSTOMER SEPTEMBER 1, 2011 – DECEMBER 31, 2011
  • 29. SHIPPING UNIT CHARGES PRICE FOR EACH THIS CUSTOMER ADDRESS
  • 30. INV# DATE ISBN TITLE QTY BOOK INVOICE C00452 – Ron Beetle 194 Dundas Street I-1900 03/05/12 9781416513285 The Pursuit Of Happiness 1 1.24 14.44 [email protected] Toronto, ON M9G 2B9 9781880000731 Purple Flowers From
  • 31. 2 1.54 20.00 Grama’s Garden I-1946 03/06/12 9780310258971 The Purpose Driven Life 1 1.24 12.44 C00453 - Henry Ford 299 Manchester St. I-0417 02/20/12 9780310205715 The Purpose Driven Life 1 1.54 29.34 [email protected] Toronto, ON M4J 2A8 I-0882 02/28/12 9780310270600 The Purpose Driven Life 1 0.00 5.44
  • 32. 9781880000731 Purple Flowers From 3 1.54 18.50 Grama’s Garden I-1192 03/05/12 9780310205715 The Purpose Driven Life 1 1.24 29.44
  • 33. Page 93 of 128