Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives Do it now activity Referential integrity uses each foreign key’s corresponding primary key to ensure that there are no orphan records i.e. it prevents you from deleting related records Why is this important in a database ? Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity
New learning Normalisation stuff goes here Normalisation 1NF 2NF 3NF Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives New learning Normalisation stuff goes here Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity
Talk Task Go to: ASandA2ict.weebly.com Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives Talk Task Go to: ASandA2ict.weebly.com Click on A2 and then Unit 7 – Lesson 3 Download, save and then open the data file Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity
Talk Task The data is currently in 1NF Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives Talk Task The data is currently in 1NF What data would be moved to put the data in 2NF? What data would be moved to put the data in 3NF? Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity
Learning Development Primary and foreign key stuff goes here Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives Learning Development Primary and foreign key stuff goes here Demo creating tables / primary keys and setting up relationships in data base. No Autonumber for ID’s Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity
Independent Task Go to: ASandA2ict.weebly.com Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives Independent Task Go to: ASandA2ict.weebly.com Click on A2 and then Unit 7 – Lesson 3 Download, save and then complete Lesson 3 Activities Worksheet Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity
Plenary Upload your activities worksheet to Edmodo Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives Plenary Upload your activities worksheet to Edmodo Reminder – Due Wed 22nd January 2014 Complete Activity 1 for your chosen scenario and upload to Edmodo Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity
Identify the Primary and secondary keys in given database scenario Understand the purpose of normalisation in terms of reducing duplication of data Understand the purpose of Primary and Secondary Keys in a Database Learning objectives MB1 (with help) Normalise data for given scenario by creating ER diagrams and relationships with database software Identify the Primary and secondary keys in given database scenario MB2 (with pointers) MB3 (independently) Normalisation 1NF 2NF 3NF Primary key Foreign key Referential integrity