Thread: help please!
View Single Post
Old 11-15-2012, 09:31 PM   PM User | #5
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,200
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
And on top of that, if the database is PROPERLY DESIGNED and uses correct RELATIONAL INTEGRITY, then task 3.3.4 is impossible. For that matter, the data as presented there is impossible. So somebody is teaching you bad database design.

Specifically, propid in the PERSONS table should be a foreign key to propid in the PROPERTIES table. And so the propid of 4 in the PERSONS table would be impossible in a correctly designed and implemented database.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote