Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Student can lease university flats and some of the details of leases held by stu

ID: 3583022 • Letter: S

Question

Student can lease university flats and some of the details of leases held by students for places in university flats are shown in the following table. A place number (placeNO) uniquely identifies each single room in all flats and is used when leasing room to a student. Identify the functional dependencies that exist between the columns of the table and identify the primary key and any alternate key(s) (if present) for the table. Provide examples of how insertion, deletion, and modification anomalies could occur on this table. Applying normalization on the table shown above to 3NF. Shown the results in the formation of four 3NF tables, and identify the primary key for each table.

Explanation / Answer

Using the functional dipendency in relation we can break the table into following 4 3NF tables.

leaseNo, bannerId

In above table leaseNo is primary key.

leaseNo, studentId, placeNo, startDate, finishDate

In above table leaseNo is primary key.

In above table studentId is primary key.
placeNo, flatNo, Address

In above table placeNo is primary key.