Professional Documents
Culture Documents
Tutorial Exercises On Normalization 2015-2016: Employeenin Contractno Hours Employeename Hotelno Hotellocation
Tutorial Exercises On Normalization 2015-2016: Employeenin Contractno Hours Employeename Hotelno Hotellocation
Tutorial Exercises On Normalization 2015-2016: Employeenin Contractno Hours Employeename Hotelno Hotellocation
2015-2016
Question 1
An agency called Instant Cover supplies part-time/temporary staff to hotels within Scotland. The
table below displays sample data, which lists the time spent by agency staff working at various
hotels. The National Insurance Number (NIN) is unique for every member of staff.
1. The table below is susceptible to update anomalies. Provide examples of insertion,
deletion, and modification anomalies.
2. Identify the functional dependencies represented by the attributes shown in the table. State
any assumptions you make about the data and the attributes shown in this table.
3. Normalize the table below to 3NF. Describe all the steps.
4. Identify primary and foreign keys in your relations.
Module ModuleName DeptCode DeptName StudNo Lname Fname Address City Grade LectID LectName
Code
M503 Management MGT Law and S001 Masters Rick 5, Malo New York A FJ Freens,
Information Management Street Judith
Systems
S005 Smith Steve 6, Chan Boston B FJ Freens,
Avenue Judith
S008 Jones Terry 24, Nay Indiana A FJ Freens,
Street Judith
S004 Wallace Fred 4, Bridge Boston B FJ Freens,
Avenue Judith
M504 Multimedia CSE Computer S005 Smith Steve 6, Chain Boston C MS Mathews,
Science Avenue Shane
S009 Shawn Jude 1, Corn Indiana A MS Mathews,
Street Shane
S001 Masters Rick 5, Malo, New York B MS Mathews,
Street Shane
S006 Smith Sterling 17, Ridge Chicago D BS Boom,
Avenue Shelly
S007 Boon Susan 3, Goat New York A BS Boom,
Lane Shelly
Question 3
The table below contains details about employees and their projects.
1. Identify the functional dependencies represented by the attributes shown in the table. State
any assumptions you make about the data and the attributes shown in this table.
2. Normalize the table below to 3NF. Describe all the steps.
3. Identify primary and foreign keys in your relations.
Question 4
The table below contains details about students and their assignments.
1. Identify the functional dependencies represented by the attributes shown in the table. State
any assumptions you make about the data and the attributes shown in this table.
2. Normalize the table below to 3NF. Describe all the steps.
3. Identify primary and foreign keys in your relations.