100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

Nora's Bagel Bin Database Blueprints Data Management - Applications - VHT2 A.

Beoordeling
-
Verkocht
-
Pagina's
20
Cijfer
A+
Geüpload op
21-02-2024
Geschreven in
2023/2024

Nora's Bagel Bin Database Blueprints Data Management - Applications - VHT2 A. Nora’s Bagel Bin Database Blueprints First Normal Form (1NF) BAGEL ORDER PK Bagel Order ID PK Bagel ID Order Date First Name Last Name Address 1 Address 2 City State Zip Mobile Phone Delivery Fee Bagel Name Bagel Description Bagel Price Bagel Quantity Special Notes The table is in the First Normal form, as it satisfies the following requirements: • Have a unique identifier (primary key) • Don’t have any repeating columns • Don’t have any columns that hold more than value

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Nora's Bagel Bin
Database Blueprints Data
Management - Applications -
VHT2
A.
Nora’s Bagel Bin Database Blueprints
First Normal Form (1NF)

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

,The table is in the First Normal form, as it satisfies the following requirements:

• Have a unique identifier (primary key)
• Don’t have any repeating columns
• Don’t have any columns that hold more than value

A composite primary key is created with Bagel Order ID and Bagel ID as the unique identifier for the records in the table above.



A1.
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 1:M PK / FK Bagel ID M:1 Bagel Name
First Name Bagel Quantity Bagel Description
Last Name Bagel Price
Address 1
Address 2
City
State
Zip
Mobile Phone
Delivery Fee
Special Notes

, The tables are in the Second Normal form, as it satisfies the following requirements:

• It is in the 1st NF.
• Each non-key attribute is fully functionally dependent on the primary key.

The table is reduced into 2nd normal form by splitting the BAGEL ORDER table into BAGLE ORDER LINE ITEM with Bagel Order ID,
Bagel ID, Bagel Quantity as its attributes; and BAGEL table with Bagel ID, Bagel Name, Bagel Description, and Bagel Price as its
attributes. It ensures that the tables are in 1st NF and all non-key attributes are fully functionally dependent on the primary key.

The cardinality of the relationship between two tables:

• From the tables BAGEL ORDER and BAGLE ORDER LINE ITEM, reading from left to right, there can be many line items for
every order. Reading from right to left, the table indicates that each line item is associated with only one order. Thus,
there exists a One-to-Many relationship between the tables.

• From the tables BAGLE ORDER LINE ITEM and BAGEL, reading from left to right, it says there can be only one bagel for
every line item. Reading from right to left, the table indicates that each bagel is associated with multiple line items. Thus,
a Many-to-One relationship exists between the tables.

Geschreven voor

Vak

Documentinformatie

Geüpload op
21 februari 2024
Aantal pagina's
20
Geschreven in
2023/2024
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
LectDan Teachme2-tutor
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
220
Lid sinds
3 jaar
Aantal volgers
158
Documenten
7977
Laatst verkocht
1 week geleden

4,0

47 beoordelingen

5
25
4
12
3
2
2
3
1
5

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen