Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

transitive dependency

Posted on 2003-11-11
1
Medium Priority
?
2,277 Views
Last Modified: 2013-11-19
Im confused by what this is, arent they the same thing??
       
      
partial functional dependency
Description       
In database terminology, a partial functional dependency occurs when the value in a non-key attribute of a table is dependent on the value of some part of the table's primary key (but not all of it).

       
transitive dependency
Description       
A transitive dependency occurs in a database table when the value of a non-key attribute is dependent on the value of another non-key attribute in that table.

0
Comment
Question by:illucid
1 Comment
 
LVL 7

Accepted Solution

by:
yoren earned 375 total points
ID: 9729019
No. Here's an example with both a transitive dependency and a partial functional dependency. Key is SID/Major -- this student has a double major

SID      Major            School            Maj_GPA            School_Location
123      Physics            Engineering      4.0            EngTown
123      Music            Arts            3.3            Artsville

Transitive dependency: School *determines* School_Location (School is not a key)
Partial functional dependency: Major determines School (Major is part of the key)

Now, remove the partial functional dependency:

SID      Major            Maj_GPA      
123      Physics            4.0            
123      Music            3.3      

Major      School            School_Location
Physics      Engineering      EngTown
Music      Arts            Artsville


Still have a transitive dependency. Now remove that:


SID      Major            Maj_GPA            
123      Physics            4.0            
123      Music            3.3            

Major      School
Physics      Engineering
Music      Arts

School            School_Location
Engineering      EngTown
Arts            Artsville


...and you're in 3rd normal form.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question