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
Document preview thumbnail
Preview 3 out of 7 pages
Essay

Unit 18 - Assignment 1 - P1, M1, D1

Document preview thumbnail
Preview 3 out of 7 pages

Unit 18 Database Design. Introduction to relational Databases. All criteria achieved, P1, M1 and D1.

Content preview

EDEXCEL BTEC LEVEL 3 90 CREDIT DIPLOMA IN INFORMATION TECHNOLOGY




Assignment 2
Designing a Relational Database

Joel
16/06/2017

, Task 1:


Normalisation:
1NF:
Order Number
Date of Order
Customer ID
Customer Name
Customer Address
Customer Postcode
Customer Contact
Number
Delivery Address
Delivery Postcode
Delivery Date
Delivery Time
Sandwich Code
Sandwich Description
Sandwich Price
Sandwich Quantity
Line Total
Total Price
Order Paid (Tick box)
Shop ID
Shop Location
Staff ID
Staff Name
2NF:
To get to 2NF the headings need to be split up into several tables.

Customer Customer Customer Customer Customer Delivery Delivery Deliver Deliver
ID Name Address Postcode Contact Address Postcode y Date y Time
Number


Sandwich Code Sandwich Description Sandwich Price


Staff ID Shop ID Shop Location


Order Date of Sandwich Line Total Total Price Order Paid
Number Order Quantity (Tick box)


3NF:
To get to 3NF the tables need to be split up to ensure there aren’t any headings that are in a table if
they aren’t dependent on that tables primary key. To do this another table for deliveries needs to be
created.

Joel Page 1

, Customer ID Customer Name Customer Address Customer Postcode Customer Contact
Number


Delivery ID Delivery Address Delivery Postcode Delivery Date Delivery Time



The other tables stay the same since they are already at 3NF. These two tables have now also been
put into 3NF since now everything in the table is dependent on its primary key.


Entity Relationship Diagram:




Data Dictionary:
Customer Table
Field Name Data Type Size Notes
Customer ID AutoNumbe
r
Surname Text 20
Name Text 20
Address Text 50
Postcode Text 10 >LL00\ 0LL;0;_
Contact Number Text 20 \(9999") "0009009;0;_


Delivery Table
Field Name Data Type Size Notes
Delivery ID AutoNumbe


Joel Page 2

Document information

Study Level
Uploaded on
January 29, 2018
Number of pages
7
Written in
2016/2017
Type
Essay
Professor(s)
Unknown
Grade
Unknown
£3.49

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

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.
leoJBlack
3.4
(34)
Sold
139
Followers
123
Items
48
Last sold
2 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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