In trying to figure out why the following table definitions from a textbook exercise about nurses in hospital wards is not in 2NF:
Ward (WName, Location, WType)
Ward-Nurse (WName(fk), NurseID, NurseName, TeamCode, TeamSkill, Shift)
what is the meaning of "depends on" when describing how some attributes don't "depend" on the whole key? Is it something like "you don't need to know the ward name in order to know what shift a nurse is working" for example?
What is the thought process by which it becomes obvious that for this DB to be in 2NF I need to change the definition to
Ward ( WName, Location, WType)
Ward-Nurse ( WName(fk), NurseID(fk), Shift)
Nurse ( NurseID, NurseName, TeamCode, TeamSkill)
Likewise for 3NF, what interpretation of the word "depends" and its application to the table definitions above allows me to know that the solution for 3NF is
Ward (WName, Location, WType)
Ward-Nurse ( WName(fk), NurseID(fk), Shift)
Nurse ( NurseID, NurseName, TeamCode(fk))
Team (TeamCode, TeamSkill)
All the above being from a textbook exercise where no explanation is given beyond the proposed table definitions.