You are on page 1of 2

BCA20 - Database Management System and Programming

Assignment 2 – Normalization

-o0o-

Name: ________________________________________Section: BCA20 _________

INSTRUCTION: SUBMIT YOUR ASSIGNMENT ON MONDAY, DEC. 13, 2010. WRITE


YOUR ANSWER IN A 1 WHOLE SHEET OF YELLOW PAPER.

Below is hospital data on staff rotation. Assume that the staff can change wards in one
week. The charge nurse is unique from the regular staff. Normalize the table below into
its 3rd normal form. Show all your solutions.

Charge
Staff Week Charge Nurse Tel
No. Name Address Tel No. Position Shift Ward No. Ward Name Location beginning Nurse No. Extn.
23A
Morgan George 01506-
S123 Russell Street 67676 Nurse Late              

15 High 0131-
Carol Street 334- Staff Moira
S098 Cummings Edinburgh 5677 Nurse Late Ward 11 Orthopaedic Block E 1/9/1998 Samuel S011 7711

Solution:

1NF

Charge
Staff Ward Week Charge Nurse Tel
No. Name Address Tel No. Position Shift No. Ward Name Location beginning Nurse No. Extn.
23A
Morgan George 01506- Moira
S123 Russell Street 67676 Nurse Late  Ward11  Orthopaedic  Block E 1/9/1998 Samuel S011 7711

15 High 0131-
Carol Street 334- Staff Moira
S098 Cummings Edinburgh 5677 Nurse Late Ward 11 Orthopaedic Block E 1/9/1998 Samuel S011 7711

2NF
Charge
Ward Charge Nurse Tel
Staff No. Ward No. Week beginning Shift
No. Ward Name Location Nurse No. Extn.

Moira
S123 Ward 11 1/9/1998 Late
Staff Ward 11 Orthopaedic Block E Samuel S011 7711
No. Name Address Tel No. Position
S098 Ward 11 1/9/1998 Late
23A
Morgan George 01506-
S123 Russell Street 67676 Nurse

15 High 0131-
Carol Street 334- Staff
S098 Cummings Edinburgh 5677 Nurse

3NF

Staff Ward Week Charge


No. No. beginning Shift Ward Tel Nurse
No. Ward Name Location Extn. No.

S123 Ward 11 1/9/1998 Late


Ward 11 Orthopaedic Block E 7711 S011

S098 Ward 11 1/9/1998 Late

Charge
Staff Nurse Charge
No. Name Address Tel No. Position No. Nurse

23A Moira
Morgan George 01506- S011 Samuel
S123 Russell Street 67676 Nurse

15 High 0131-
Carol Street 334- Staff
S098 Cummings Edinburgh 5677 Nurse

You might also like