[Year 12 IT Apps] Normalisation Activity
Robert Timmer-Arends
timmer at westnet.com.au
Thu May 1 17:19:50 EST 2014
Hello all
just be careful with this site though. Its definition of 1NF is not quite right and its 1NF example is wrong because of it.
In the following I am only referring to what appears under the heading 'First Normal Form 1NF'
'A row of data cannot contain a repeating group' - correct - note it's the row, not the column.
'Each column must have a unique value' - not correct. Think about it. In their example, this means you cannot have more than one student named 'Adam' or more than one appearance of the subject 'Maths'.
'Each row of data must have a unique identifier i.e primary key' - not quite. A primary key is the smallest number of columns that uniquely identify a row.
In fact, for their example, the inital Student table, which they say is not 1NF IS in 1NF, with a primary key = S_ID + Subject
The difficulty of course is that it uniquely identifies a student in a subject. Presumably the intention is for S_ID to be a primary key on its own, uniquely identifying a student.
In that case, the reason the table must be split has nothing to do with 1NF. The reason is that it is NOT in 2NF (assuming we want S_ID as the unique identifier). 2NF says that no column that is not part of a primary key can be dependent on only a part of the primary key. Clearly S_Name is dependent only on S_ID, not on S_ID + Subject.
So the split occurs as given, but leading to 2NF not 1NF (Yes, as they say, each of the split tables are in 1NF, but the two tables together are a 2NF representation of the initial Student table.
Regards
Robert T-A
----- Original Message -----
From: Litsa Tzelepis
To: Year 12 IT Applications Teachers' Mailing List
Sent: Tuesday, April 29, 2014 2:59 PM
Subject: Re: [Year 12 IT Apps] Normalisation Activity
hi Sylvia -
would this help a little?
litsa :-)
http://www.studytonight.com/dbms/database-normalization.php
On Tue, Apr 29, 2014 at 10:30 AM, Sylvia Pastore <smp191172 at gmail.com> wrote:
Hi all
Would anyone have an access normalisation activity for my kids to try. Some of them are finding it a bit hard to grasp and thought someone may have created one to save me some time.
Thanks in anticipation.
sylvia
_______________________________________________
http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
IT Applications Mailing List kindly supported by
http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html - Victorian Curriculum and Assessment Authority <br>
http://www.vitta.org.au - VITTA Victorian Information Technology Teachers Association Inc <br>
http://www.swinburne.edu.au/ict/schools - Swinburne University
--
Litsa Tzelepis
Mount St. Joseph Girls' College
133 Maidstone Street, Altona, VIC. 3018
htzelepis at msj.vic.edu.au
P:8398 2000 | F:9398 3498
This Email and any attachments may be confidential and, if you are not the intended recipient, you must not disclose or use the information in this email. If received in error, please notify the sender and Mount St. Joseph Girls' College immediately and delete the Email and all copies. Mount St. Joseph Girls' College does not guarantee that this email is virus or error free. The attached files are provided and may only be used on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The content and opinions in this Email are not necessarily those of Mount St. Joseph Girls' College. Please consider the environment before printing this email.
IMPORTANT! This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Mount St Joseph Girls' College does not represent or warrant that the attached files are free from computer viruses or other defects. The attached files are provided, and may only be used, on the basis that the user assumes all responsibility for any loss, damage or consequence resulting directly or indirectly from the use of the attached files, whether caused by the negligence of the sender or not. The liability of Mount St Joseph Girls' College is limited in any event to either the resupply of the attached files or the cost of having the attached files resupplied. Any representations or opinions expressed in this email are those of the individual sender, and not necessarily those of Mount St Joseph Girls' College.
------------------------------------------------------------------------------
_______________________________________________
http://www.edulists.com.au - FAQ, resources, subscribe, unsubscribe
IT Applications Mailing List kindly supported by
http://www.vcaa.vic.edu.au/vce/studies/infotech/itapplications3-4.html - Victorian Curriculum and Assessment Authority <br>
http://www.vitta.org.au - VITTA Victorian Information Technology Teachers Association Inc <br>
http://www.swinburne.edu.au/ict/schools - Swinburne University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/itapps/attachments/20140501/0b1ae7d3/attachment.html
More information about the itapps
mailing list