BTEC ICT – Unit 18 With Mr Griffiths
Lesson 43 – P2 notes – Normalise own DB All students will: Normalise their own database Most students will: Understand Normalisation Some students will: Begin Assignment 3
P21 Notes – part 3 Normalisation Last lesson you learned what normalisation was (https://goo.gl/QSslpp) Now you need to show the steps you take from: An un-normalized database 1NF 2NF 3NF Use the slides that follow to help you normalise your Radio Station database (we are pretending it is not built yet)
Un-normalized database Here you show all the fields you think you will need in the database, minus the primary keys Eg for a database to store album details:
1NF Now show the same fields in 1NF Remember the rules to apply for 1st Normal Form are: Remove duplicate fields Create a table for each entity and add primary keys
2NF Rules for 2nd Normal Form: Meet all the requirements of the first normal form. Remove subsets of data that apply to multiple rows of a table and place them in separate tables. Create relationships between these new tables and their predecessors through the use of foreign keys.
3NF Meet all the requirements of the second normal form. Remove columns that are not dependent upon the primary key.