Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Nora’s Bagel Bin Database Blueprints (continued)

Rating
-
Sold
-
Pages
3
Grade
A+
Uploaded on
09-01-2023
Written in
2022/2023

Second Normal Form (2NF) Bagel ID • Separate the data that depend on just one of the two parts of the primary key into separate tables. • Keep any columns in the original table (now named "Bagel Order Line Item") that still depend on both parts of the original primary key. • Fill in each shaded cell within the tables with an attribute from the 1NF blueprint in the previous section. • Fill in the dotted cells between the tables with the cardinality of the relationship between those two tables: one- to-one (1:1), one-to-many (1:M), many-to-one (M:1), or many-to-many (M:M). Third Normal Form (3NF) • Look for remaining data that are or could be repeated within each table but do not depend on the primary key. • Move that repeated data into their own table by filling in the shaded cells with attributes from your 2NF diagram. • Create a new attribute to be the primary key for this new table and also use it as the foreign key linking to this new table; fill in the appropriate shaded cells with this new attribute. • Fill in the dotted cell between the two new tables with the cardinality of the relationship between those two tables: one-to-one (1:1), one-to-many (1:M), many-to-one (M:1), or many-to-many (M:M). • Give the two new tables appropriate names. • Fill in the remaining

Show more Read less
Institution
Course

Content preview

Nora’s Bagel Bin Database Blueprints
(continued)
Second Normal Form (2NF)

BAGEL ORDER BAGEL ORDER LINE ITEM BAGEL
PK Bagel Order ID PK / FK Bagel Order ID PK Bagel ID
Order Date PK / FK Bagel ID Bagel Description
First Name Bagel Quantity Bagel Price
Last Name Bagel Name
Address 1
Address 2
City
State
Zip
Mobile Phone
Delivery Fee
Special Notes



• Separate the data that depend on just one of the two parts of the primary key into separate tables.
• Keep any columns in the original table (now named "Bagel Order Line Item") that still depend on both parts
of the original primary key.
• Fill in each shaded cell within the tables with an attribute from the 1NF blueprint in the previous section.
• Fill in the dotted cells between the tables with the cardinality of the relationship between those two tables:
one- to-one (1:1), one-to-many (1:M), many-to-one (M:1), or many-to-many (M:M).




This study source was downloaded by 100000851646087 from CourseHero.com on 11-23-2022 03:27:01 GMT -06:00


https://www.coursehero.com/file/117788191/Noras-Bagel-Bin-Database-Blueprintsdocx/

Written for

Course

Document information

Uploaded on
January 9, 2023
Number of pages
3
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LectDan Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
220
Member since
3 year
Number of followers
157
Documents
7985
Last sold
1 month ago

4.0

47 reviews

5
25
4
12
3
2
2
3
1
5

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions