Normal Forms

Apr 23rd, 2013
RockCafe
Category:
Programming
Price: $20 USD

Question description

The relation Viewing is intended to record information for a house agent about the details of properties on his books and a history of their viewings together with the outcome of a viewing (whether the customer was definitely interested in buying the property, definitely not interested or still thinking about it). The

following gives the relational heading:

Viewing (PropertyCode, CustomerCode, DateOfViewing, Address, CouncilTaxBand, CouncilTax, CustomerName, CustomerContactNumber, OutcomeOfViewing)

The following gives some sample data from the corresponding relational table:

20130423043534attachemnt1.jpg


The first row in this table gives the information that property P1, 1 Cherry Gardens, Notlaw, ZZ1 3YY, being in council tax band B and so paying £1500 per year, was viewed on 24 December 2012 by customer C1, John Smith, with contact number 0799 9999999, who is not interested in buying it.

The following are some of the non-trivial functional dependencies on Viewings

20130423043556attachemnt2.jpg


 (a) Demonstrate that Viewing is subject to insertion, deletion and amendment anomalies.

 (b) From FD1–FD6, derive two moren on-trivial functional dependencies where the determinant is irreducible and part of the primary key. Justify your derivations.

 (c) Justify the statement that Viewing is not in second normal form (2NF). Write down the headings of relations in 2NF that will result from a non-lossy decomposition of Viewing.

Justify that these relations are in  2NF.

(d) Are each of the relations resulting from the decomposition in part (c) in third normal form (3NF)? Justify your answer.

For each relation which is not in 3NF, write down the headings of the

relations in 3NF which result from a non-lossy decomposition of that relation. Justify your answers.


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: UCLA
PREMIUM TUTOR

Studypool has helped 1,244,100 students

3 Reviews


Summary
Quality
Communication
On Time
Value
BlueOcean
Nov 14th, 2016
" Awesome! Exactly what I wanted. "
ashleyisgod
Oct 23rd, 2016
" Top quality work from this guy! I'll be back! "
Molly_Moon
Sep 30th, 2016
" AMAZING as always! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1830 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors