I have an assignment where I'm supposed to normalize up to three normalizations for a table but the teacher didn't explain it well.
Empno Pro# Hours Pro_name Pro_loc Ename Job Job# Pay_rate
56789 1100 32.5 x Apex Smith, John Database Deisgner 100 90
45555 1100 52.5 x Apex May, Joyce SQL Programmer 200 45
56789 1100 20 x Apex Smith, John System Design 110 70
45555 2100 7.5 y Tokyo May, Joyce SQL Programmer 200 45
56789 2100 7.5 y Tokyo Smith, John Database Design 100 90
56789 2100 20 y Tokyo Smith, John System Design 110 70
56789 2100 10 y Tokyo Smith, John System Analysis 120 80
45555 2100 10 y Tokyo Smith, John Business Analysis 130 90
84444 3100 10 z Zary Jones, Jay Database Design 100 90
84444 3100 40 z Zary Jones, Jay DBA 140 80
53453 3100 40 z Zary Wong, Lei SQL Programmer 200 45
53453 3100 10 z Zary Wong, Lei PL/SQL Progammer 210 65
The steps go like this.
1. The table must be an un-normalizaed table
2. Highlight the repeating-group data columns (Which ones are the repeating, I thought it was pro-name, pro#, and pro_loc, but I think its the other ones.)
3. Fill in blank
4. Move the highlighted columns to a new table
5. Copy and paste columns from old table to new table (which column do I choose)
6. Eliminate the repeating or identical records
7. Set up primary key
8. Write down the table structure in english
The biggest thing I need help on is step 2 finding out which columns are the repeating ones and which column and in step 5 do I choose to add to the new table.
Any help would be appreciated. If I messed up on how I posted this please let me know.
Thanks