Relational Databases – Further Study I think we’ve covered all you need to know for GCSE about relational databases I’m not aware of any practical coursework.

Slides:



Advertisements
Similar presentations
Normalisation.
Advertisements

FEN Introduction to the database field: Quality checking table design: Design Guidelines Normalisation Seminar: Introduction to relational.
Relational Terminology. Normalization A method where data items are grouped together to better accommodate business changes Provides a method for representing.
 Definition  Components  Advantages  Limitations Contents  Definition Definition  Normal Forms Normal Forms  First Normal Form First Normal Form.
RJP/RDA 1 /93 Relational Data Analysis (RDA) RDA organises all the system’s data items into a set of well NORMALISED relations. These should avoid: 1.
Normalization What is it?
Puppy Project Normalization. Un-normalized Data Items Puppy Number Puppy Name Kennel Code Kennel Name Kennel Location Trick ID 1  n Trick Name 1  n.
Topic Database Normalisation S McKeever Advanced Databases 1.
Normalisation Ensuring data integrity in database design 1.
Athabasca University Under Development for COMP 200 Gary Novokowsky
Topic Denormalisation S McKeever Advanced Databases 1.
Logical Data Modeling Review Lecture for University of Agder, Grimstad DAT202 Databaser (5.5.11) Judith Molka-Danielsen
Design Guidelines Normalisation Table Design. Informal Design Guidelines Table Semantics A table should hold information about one and only one entity/concept.
Accounting 6500 Relational Databases: Accounting Applications Introduction to Normalization.
Relational Data Analysis Learning outcomes  understand the process of normalisation;  perform Relational Data Analysis;  recognise the importance of.
Boyce-Codd Normal Form Kelvin Nishikawa SE157a-03 Fall 2006 Kelvin Nishikawa SE157a-03 Fall 2006.
Database Design Concepts Lecture 19 Term 2 week 8 Worked example of normalisation.
1 NORMALISATION. 2 Introduction Overview Objectives Intro. to Subject Why we normalise 1, 2 & 3 NF Normalisation Process Example Summary.
Microsoft Access 2002 By Ian Cole Lecturer in ICT.
Project and Data Management Software
Why Normalization? To Reduce Redundancy to 1.avoid modification, insertion, deletion anomolies 2.save space Goal: One Fact in One Place.
Normalization Quiz Tao Li Grant Horntvedt. 1. Which of the following statements is true: a. Normal forms can be derived by inspecting the data in various.
File and Database Design SYS364. Today’s Agenda WHTSA DBMS, RDBMS, SQL A place for everything and everything in its place. Entity Relationship Diagrams.
Week 6 Lecture Normalization
VCE IT Theory Slideshows
Modelling Techniques - Normalisation Description and exemplification of normalisation.Description and exemplification of normalisation. Creation of un-normalised.
CREATE THE DIFFERENCE Normalisation (special thanks to Janet Francis for this presentation)
Cambridge TEC - Level 3 Certificate/Diploma IT. ICT Dept ScenarioLO1LO2LO3.
ER Diagrams, Data Structure Diagrams and Relationship Types using the Footy Tips Database.
Relational databases and third normal form As always click on speaker notes under view when executing to get more information!
Avoiding Database Anomalies
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
Normalisation Mia’s Sandwich Shop The Process Explained.
Normalization Are we Normal. Normalization Normalization is the process of converting complex data structures into simple, stable data structures It also.
Database Normalization Lynne Weldon July 17, 2000.
CORE 2: Information systems and Databases NORMALISING DATABASES.
1 What is database 2? What is normalization? What is SQL? What is transaction?
FEN Quality checking table design: Design Guidelines Normalisation Table Design Is this OK?
Copyright © 2005 Ed Lance Fundamentals of Relational Database Design By Ed Lance.
Normalisation Africamuseum 5 June What is ‘Normalisation’?  Theoretical: satisfying the requirements of the different ‘Normal Forms’, as spelled.
Customer Order Order Number Date Cust ID Last Name First Name State Amount Tax Rate Product 1 ID Product 1 Description Product 1 Quantity Product 2 ID.
M1G Introduction to Database Development 4. Improving the database design.
ITN Table Normalization1 ITN 170 MySQL Database Programming Lecture 3 :Database Analysis and Design (III) Normalization.
Create Databases for Web Applications Database normalization. Classwork/Homework: determine teams for basic projects explain and enhance assignment.
Normalizing Your Database CPT 242. Normalization The procedure where the developer analyzes the data and establishes the table structure to create the.
A337 - Reed Smith1 Structure What is a database? –Table of information Rows are referred to as records Columns are referred to as fields Record identifier.
Creating Databases Data normalization. Integrity and Robustness. Work session. Homework: Prepare short presentation on enhancement projects. Continue working.
MIS2502: Data Analytics Relational Data Modeling
Data modeling Process. Copyright © CIST 2 Definition What is data modeling? –Identify the real world data that must be stored on the database –Design.
Sample Table Standard Notation Entity name in uppercase
Normalisation 1NF to 3NF Ashima Wadhwa. In This Lecture Normalisation to 3NF Data redundancy Functional dependencies Normal forms First, Second, and Third.
Databases Database Normalisation. Learning Objectives Design simple relational databases to the third normal form (3NF).
NormalisationNormalisation Normalization is the technique of organizing data elements into records. Normalization is the technique of organizing data elements.
Databases Introduction - concepts. Concepts of Relational Databases.
NORMALIZATION Handout - 4 DBMS. What is Normalization? The process of grouping data elements into tables in a way that simplifies retrieval, reduces data.
What Is Normalization  In relational database design, the process of organizing data to minimize redundancy  Usually involves dividing a database into.
MS Access. Most A2 projects use MS Access Has sufficient depth to support a significant project. Relational Databases. Fairly easy to develop a good user.
Normalisation Unit 6: Databases. Just to recap  What is an Entity  What is an Attribute?
Starter Draw a mind map for topic 6 Databases. Objectives Revise topic CG3.6 Databases using various activities and ensure that topics covered are understood.
Year 12 > 13 Applied GCE ICT Unit 7 Using Database Software.
Normalisation FORM RULES 1NF 2NF 3NF. What is normalisation of data? The process of Normalisation organises your database to: Reduce or minimise redundant.
Normalisation Worked example for an Order Remember : The data should depend upon the key, the whole key and nothing but the key.
NORMALISATION OF DATABASES. WHAT IS NORMALISATION? Normalisation is used because Databases need to avoid have redundant data, which makes it inefficient.
Flat file and relational databases Flat file database In a flat file database information is held in a single table. Student IDStudent name GenderDOBCourse.
Dr Gordon Russell, Napier University Normalisation 1 - V2.0 1 Normalisation 1 Unit 3.1.
Revised: 2 April 2004 Fred Swartz
Chapter 4.1 V3.0 Napier University Dr Gordon Russell
Lesson Objectives Aims You should know about: 1.3.2:
BTEC ICT – Unit 18 With Mr Griffiths.
Normalisation 1 Unit 3.1 Dr Gordon Russell, Napier University
Presentation transcript:

Relational Databases – Further Study I think we’ve covered all you need to know for GCSE about relational databases I’m not aware of any practical coursework that requires you to make a relational database… …they are, however, used quite a lot by applications and web-pages to store data. The next step would be to learn about normalisation to make your database designs more efficient.

Normalisation The process of refining the structure of a database to minimise redundancy and improve integrity is called normalisation. When a database has been normalised, it is said to be in normal form. There are three normal forms: –1 st Normal Form (1NF) –2 nd Normal Form (2NF) –3 rd Normal Form (3NF)

First Normal Form A database is in first normal form if there are no repeated fields. This means that there must only be one field for each item of data you want to store. For example, a library database is not in first normal form if it has the fields book1, book2, book3, book4, book5, and book6, which all store the same information, i.e. the name of a book. First normal form makes searching easier, and is also more efficient as there wouldn't be 5 empty fields if borrowers only had one book.

Second Normal Form A database is said to be in second normal form if it: –is already in first normal form –has no fields that aren't dependent on the whole of the key i.e. all fields in the table must relate to the whole of the key field For example, if, in a library loan table, the key is a combination of book ID, borrower ID and date, then you can’t include the borrower name because that is not related to the book ID or the date.

Third Normal Form A database is in third normal form if it: –is already in second normal form –it has no non-key dependencies By non-key dependencies, we mean that there are no fields that are dependent on other fields that are not part of the key. taxi (registration, make, model, driver, licence number) The taxi table is not in 3NF because the licence number is an attribute of the driver, not of the taxi itself (you would need a separate driver table).

Normalisation Oath Here's a little tip to remember the three stages - we call it the Normalisation Oath: Each attribute is dependent on the key, the whole key, and nothing but the key! So, to get to third normal form, your non- repeating fields (first normal form) need to be dependent on the whole of the key (second normal form), and nothing other than the key (third normal form). It works for me!

Real Life / Your Project Lots of students doing projects try to contrive various versions of their databases in different normal forms – don’t bother! Don't try to start at first normal form, and then go to second normal form, and then to third. Once you understand relational databases, you will put them into third normal form straight away. The key thing is to think about what your entities (or tables) are going to be - if you pick the right ones it'll normalise itself.