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
Essay

Unit 18 - Assignment 2 - P2, P4

Rating
4.0
(1)
Sold
1
Pages
5
Uploaded on
29-01-2018
Written in
2016/2017

Unit 18 Database Design. Designing a relational database. All criteria achieved, P2, P4.

Institution
Course

Content preview

EDEXCEL BTEC LEVEL 3 90 CREDIT DIPLOMA IN INFORMATION TECHNOLOGY




Assignment 1
Introduction to Relational Databases
Joel
25/01/2017

,Contents
Task 1 -...................................................................................................................................................2
Explain the Features of a Relational Database: (P1)...........................................................................2
Explain Referential Integrity and the Purpose of Primary Keys in Building Relationships between
Tables: (M1).......................................................................................................................................3
Discuss how Potential Errors in the Design and Construction of a Database can be avoided: (D1)....3




Joel Page 1

, Task 1 -
Explain the Features of a Relational Database: (P1)


Firstly, a relational database is a database that collects data in a structured and more efficient way. A
relational database makes sure that there are no repeated values in the database. Compared to a flat
file database where the same values would be inputted multiple times, in a relational database the
information is linked through relationships so only has to be inputted once and then can be linked
directly from the original table. All needed tables can be created and then linked accordingly using
relationships. Relational databases are a lot more time efficient and reduce errors that could
otherwise occur.

Using a relational database provides many benefits. One major benefit is the lack of data
redundancy. Since all tables will be linked through relationships, there won’t be any duplicate values
inputted. This reduces errors since having to type the same value many times could lead to inputting
it incorrectly. With relational databases only the original value is inputted and then linked to other
parts of the database. When this value is changed, it will change in all other parts of the database
where it is present. This is a major benefit since it saves time and reduces the chance of errors that
could occur. Data can also be easily extracted and displayed with the use of queries and reports. This
allows for the ease to look at data and see what exactly is happening.

Some key features of a relational database are entities, attributes and relationships. Entities are the
tables in the database. These contain the information about whatever is being recorded. Attributes
are the specific pieces of information that will be recorded. For example, if the entity holds
information about customers, then the attributes will be things like customer name, ID, address, etc.
There are many different data types that each attribute can have. Text is used to enter most standard
text and characters. Up to 255 can be entered but should be reduced in size to save space in the
database. Long text or memo is used for very large amounts of text. Up to 64,000 characters can be
entered which can take up a lot of storage space. Number is used for inputting numerical information
and Date/Time is used for date and time. Currency is used for currency values. These all take up a
little amount of storage each. Yes/No is for used for questions and stores the answer as 0 for no and
–1 for yes. OLE object is used for images or graphs and can use a lot of storage space. Hyperlinks can
also be entered with it data type and depending on the length could take up a lot of storage. Lookup
wizard isn't technically a data type and when chosen, starts up the wizard to help you set up a simple
or complex lookup. Depending on which type of lookup chosen, depends on how many values can be
looked up and stored. There are also validation rules that can be set on the fields. For example, in the
title field you can set it so only Mr, Mrs or Miss can be entered. You could also set it up so they can
pick these options from a drop down box. AutoNumber generates a unique value for each record in
the table. These are used with primary and foreign keys but can be used outside of these.

A primary key is a unique number for each record in the database. Each record in the primary key has
a different number so it can't have the same as any other one. If you link a primary key to another
table in the database using relationships, then it will be copied to that table as a foreign key. Using
these relationships then you don't have to input data again and it copies the entities for you.


Joel Page 2

Written for

Study Level
Examinator
Subject
Unit

Document information

Uploaded on
January 29, 2018
Number of pages
5
Written in
2016/2017
Type
ESSAY
Professor(s)
Unknown
Grade
Unknown

Subjects

$4.86
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


Also available in package deal

Reviews from verified buyers

Showing all reviews
5 year ago

4.0

1 reviews

5
0
4
1
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

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.
leoJBlack PEARSON
Follow You need to be logged in order to follow users or courses
Sold
139
Member since
8 year
Number of followers
123
Documents
48
Last sold
2 year ago

3.4

34 reviews

5
9
4
10
3
7
2
2
1
6

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