Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 05-28-2008, 09:01 AM Normalization!!
Junior Talker

Posts: 1
Trades: 0
For the example below we have one big table. Put the table in 3rd normal form.
Eid = Employee id, Pid = project id, Mid = Manager id

Functional Dependencies are:
Eid -> ename eid -> pid pid -> mname
Pid -> pname Pid -> mid Mid -> mname

Eid Ename Pid Pname Mid Mname
E01 John p1 Eco DBMS m1 Becky
E02 Mary p2 Admin. m2 Joe
E03 Mark p2 Admin m2 Joe
E04 Travis p3 Educ. m1 Becky

how to do this? As in first form we have to eliminate duplication but in this table I can't capture any duplicate record?
galaxy_thestars is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-28-2008, 10:53 AM Re: Normalization!!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Homework?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-29-2008, 06:38 AM Re: Normalization!!
vividearth's Avatar
Experienced Talker

Posts: 33
Location: London, UK
Trades: 0
Looks like homework, smells like homework...
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
vividearth is offline
Reply With Quote
View Public Profile Visit vividearth's homepage!
 
Old 05-29-2008, 07:11 AM Re: Normalization!!
davidshaw's Avatar
Ultra Talker

Posts: 375
Name: David Shaw
Trades: 1
LOL

Homework. YUK!!
__________________

Please login or register to view this content. Registration is FREE

davidshaw is offline
Reply With Quote
View Public Profile Visit davidshaw's homepage!
 
Old 06-06-2008, 12:51 PM Re: Normalization!!
Average Talker

Posts: 20
Trades: 0
been doing this all year at uni it gets so boring
__________________

Please login or register to view this content. Registration is FREE
jonnyshaw is offline
Reply With Quote
View Public Profile
 
Old 06-12-2008, 06:31 PM Re: Normalization!!
LeetPCUser's Avatar
Skilled Talker

Posts: 58
Name: Bryan
Location: Wisconsin
Trades: 0
I caught the problem. You have to split it into two tables because the names are repeating. I just had a class this past year dealing with this and it can be a headache. Let me know if you get full credit. Here is what you have to do.

Eid Ename Pid Pname Mid
E01 John p1 Eco DBMS m1
E02 Mary p2 Admin. m2
E03 Mark p2 Admin m2
E04 Travis p3 Educ. m1

Mid Mname
m1 Becky
m2 Joe
__________________

Please login or register to view this content. Registration is FREE
LeetPCUser is offline
Reply With Quote
View Public Profile Visit LeetPCUser's homepage!
 
Reply     « Reply to Normalization!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23239 seconds with 12 queries