Professional Documents
Culture Documents
1. A college keeps details about a student and the various modules the student
studied. These details comprise
o regno - registration number
o n - student name
o a - student address
o tno - tutor number
o tna - tutor name
o dc - diploma code
o dn - diploma name
o mc - module code
o mn - module name
o res - module exam result
where
details(regno,n,a,tno,tna,dc,dn,(mc,mn,res))
dc -> dn
tno -> tna
mc,mn -> res
n -> a
mc -> mn
4.
Suppliers supply many parts to many customers. Each customer deals with only
one supplier. Supplier names are unique. Customer names are not unique.
12. Normalise the following relation to 3NF showing all the steps involved.
13.GP(gpno,cpname,gpadd,(patno,patname,patadd,patdob,(apptdate,appti
me,diagnosis,treatment)))
14. gpno -> gpname,gpadd
15. patno -> patname,patadd, patdob
16. patno,apptdate -> apptime,diagnosis
17. diagnosis -> treatment
18. The table below shows an extract from a tour operator's data on travel agent
bookings. Derive the third normal form of the data, showing all the intermediate
steps.
19.
20. A software consulting firm wishes to keep the following data for an employee and
costing database:
o employee number
o employee name
o employee address
o salary
o current job code
o job history (job promotion code + year)
o office location
o telephone number
o project number
o project name
o task number
o task name
o project budget
o task expendature to date
o department number
o department name
There are none, one or mor ejob promotion code/year entries per employee. The
office location uniquely depends on the telephone number, and there may be more
than one employee using the same telephone and more than one telephone in the
one office. Tasks are numbered uniquely only within each project. An employee
may be concurrently assigned to more than one project and task, but belongs to
one department. Reduce this data to third normal form.