If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Problem with converting 2nf to 3nf.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-17-07, 21:20
BlackCorazon BlackCorazon is offline
Registered User
 
Join Date: Oct 2007
Posts: 1
Problem with converting 2nf to 3nf.

Im learning on my own on normal forms, and i am stuck on how to perform this.

Relation R(K, P, R, S) is in 2NF.
Given the following (transitive) dependency:
P, Q -> R
Convert R into two-or-three relations, R1, R2, R3 all in 3NF..

---------------------
i can only understand how to do the first relation, but how would you do the other.

R1(PQ -> R)
R2?
R3?

--
thanks for any help.
Reply With Quote
  #2 (permalink)  
Old 10-18-07, 11:44
amthomas amthomas is offline
Registered User
 
Join Date: May 2005
Location: San Antonio, Texas
Posts: 134
Oh wow.. I will try to reply with something but its been a few years since ive even looked at functional dependencies and when I did I had no idea what I was doing :P

if P, R, S -> K and P, Q -> R then P, Q, S -> K (transitivity I think :P hehe)
P, Q is a subset of R so R, Q, S -> K (I might have use that wrong)

R1(K, R, S)
R2(R, P, Q)

Forgive me if I butchered this.. I tried hehe.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On