dbTalk Databases Forums  

normalization review

comp.databases.theory comp.databases.theory


Discuss normalization review in the comp.databases.theory forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
landonkelsey
 
Posts: n/a

Default normalization review - 08-26-2007 , 09:28 PM






What normal form is violated here?
What could fix the problem?

A telephone call is uniquely identified by telephone number and time of call.
These candidate keys compose the composite primary key. There is another
attribute/column “telephone location”.

telephone number | time of call | telephone location(precise)


Reply With Quote
  #2  
Old   
Bob Badour
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 09:34 PM






landonkelsey wrote:

Quote:
What normal form is violated here?
What could fix the problem?

A telephone call is uniquely identified by telephone number and time ofcall.
These candidate keys compose the composite primary key. There is another
attribute/column “telephone location”.

telephone number | time of call | telephone location(precise)
Good luck with the homework assignment!


Reply With Quote
  #3  
Old   
landonkelsey
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 10:16 PM



I am semi-retired at the age of 67!

Not a homework assignment!

I have the answer if you'd like to hear it!

Bob Badour wrote:
Quote:
What normal form is violated here?
What could fix the problem?
[quoted text clipped - 4 lines]

telephone number | time of call | telephone location(precise)

Good luck with the homework assignment!


Reply With Quote
  #4  
Old   
Evan Keel
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 10:30 PM




"landonkelsey" <u36972@uwe> wrote

Quote:
What normal form is violated here?
What could fix the problem?

A telephone call is uniquely identified by telephone number and time of
call.
These candidate keys compose the composite primary key. There is another
attribute/column "telephone location".

telephone number | time of call | telephone location(precise)

No form is violated.




Reply With Quote
  #5  
Old   
landonkelsey
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 11:06 PM



2 is violated ...why?

Evan Keel wrote:
Quote:
What normal form is violated here?
What could fix the problem?
[quoted text clipped - 4 lines]

telephone number | time of call | telephone location(precise)

No form is violated.


Reply With Quote
  #6  
Old   
paul c
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 11:26 PM



landonkelsey wrote:
Quote:
I am semi-retired at the age of 67!

Not a homework assignment!
So where are you doing it then?

just kidding,
p


Reply With Quote
  #7  
Old   
landonkelsey
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 11:33 PM



location depends only on the telephone number not on the entire primary key

However if the telephone were a cellphone, there would be no violation!

Look at the Boyce Codd normalization principle

landonkelsey wrote:
Quote:
2 is violated ...why?

What normal form is violated here?
What could fix the problem?
[quoted text clipped - 3 lines]

No form is violated.


Reply With Quote
  #8  
Old   
Brian Selzer
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 11:36 PM




"landonkelsey" <u36972@uwe> wrote

Quote:
2 is violated ...why?

Why?

Quote:
Evan Keel wrote:
What normal form is violated here?
What could fix the problem?
[quoted text clipped - 4 lines]

telephone number | time of call | telephone location(precise)

No form is violated.




Reply With Quote
  #9  
Old   
Bob Badour
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 11:47 PM



landonkelsey wrote:

Quote:
2 is violated ...why?
Because you have made up a set of FD's whereby it violates 2nf.


Quote:
Evan Keel wrote:

What normal form is violated here?
What could fix the problem?

[quoted text clipped - 4 lines]

telephone number | time of call | telephone location(precise)

No form is violated.

Reply With Quote
  #10  
Old   
Bob Badour
 
Posts: n/a

Default Re: normalization review - 08-26-2007 , 11:50 PM



landonkelsey wrote:

Quote:
location depends only on the telephone number not on the entire primary key

However if the telephone were a cellphone, there would be no violation!

Look at the Boyce Codd normalization principle
Without having ever specified a PK, the above doesn't make much sense.

Location does not depend on the phone number in many offices with PBX
systems. Any phone can make and receive calls on any line.


Quote:
landonkelsey wrote:

2 is violated ...why?


What normal form is violated here?
What could fix the problem?

[quoted text clipped - 3 lines]

No form is violated.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.