

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


i. Updates causing the updating of too many rows
ii. Inserting a new department: If you had dept and employee tables merged together as one table, if you just wanted to insert a new department into the table there would be no employee data to match it so NULL values will have to take the place of the employee columns.
iii. Deleting departments will delete their employees.
Normalization
i. Example: an attribute shouldn’t contain a set of values such as a department location field being {Tampa, NYC, Boston}.
ii. A solution to this kind of scenario is to split the composite values into individual rows, like the following example, based on the above example. So if a department with id of 33 has three locations, there should be three rows with all three having the same department_id.
iii. A more reasonable solution would to be put department_location into its own table. The above example has duplicate data (department_id) but realistically just about all the department data would be polluting each row in duplicates. In the above example you also can’t delete a department id because then you either delete the entire row or put in NULL values in its place.
Department_id Department_location 32 Los Angeles 33 Tampa 33 Boston 33 Phoenix