UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency

UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency
1 / 1
UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 1 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 2 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 3 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 4 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 5 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 6 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 7 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 8 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 9 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 10 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 11 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 12 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 13 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 14 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 15 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 16 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 17 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 18 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 19 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 20 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 21 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 22 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 23 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 24 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 25 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 26 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 27 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 28 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 29 of 30 UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency - slide 30 of 30
UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency The functional dependency is a relationship that exists between two attributes. It typically exists between the primary key and non-key attribute within a table. X Y The left side of FD

Related Topics

Download this presentation From Below

"UNIT-3 FUNCTIONAL DEPENDENCY Functional Dependency" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
UNIT-3 FUNCTIONAL DEPENDENCY<br>
02
Functional Dependency The functional dependency is a relationship that exists between two attributes. It typically exists between the primary key and non-key attribute within a table.
X   →   Y  
The left side of FD is known as a determinant, the right side of the production is known as a dependent.
For example:
Assume we have an employee table with attributes: Emp_Id, Emp_Name, Emp_Address.
Here Emp_Id attribute can uniquely identify the Emp_Name attribute of employee table because if we know the Emp_Id, we can tell that employee name associated with it.
Functional dependency can be written as:
Emp_Id → Emp_Name   
We can say that Emp_Name is functionally dependent on Emp_Id.<br>
03
Types of Functional dependency 1. Trivial functional dependency
A → B has trivial functional dependency if B is a subset of A.
The following dependencies are also trivial like: A → A, B → B Example:
Consider a table with two columns Employee_Id and Employee_Name.  
{Employee_id, Employee_Name}   →    Employee_Id is a trivial functional dependency as   
Employee_Id is a subset of {Employee_Id, Employee_Name}.  
Also, Employee_Id → Employee_Id and Employee_Name   →    Employee_Name are trivial 
dependencies too.<br>