DBMS Functional Dependency - Transitive, Trivial, Multivalued (Example)
DBMS Functional Dependency - Transitive, Trivial, Multivalued (Example)
Functional Dependency is when one attribute determines another attribute in a DBMS 4) Relational Data
system. Functional Dependency plays a vital role to find the di erence between good and Model in DBMS
6) Relational Algebra in
Example: DBMS
7) DBMS Transaction
Employee number Employee Name Salary City
Management
1 Dana 50000 San Francisco 8) DBMS Concurrency
2 Francis 38000 London Control
9) DBMS Keys
3 Andrew 25000 Tokyo
10) DBMS Functional
In this example, if we know the value of Employee number, we can obtain Employee Dependency
Name, city, salary, etc. 11) DBMS vs RDBMS
Key terms
Here, are some key terms for functional dependency:
Multivalued dependency:
Trivial functional dependency:
dependency
Non-trivial functional dependency:
dependency
Transitive dependency:
Example:
In this example, maf_year and color are independent of each other but dependent on
car_model. In this example, these two columns are said to be multivalue dependent on
car_model.
car_model-> colour
For example:
Emp_id Emp_name
AS555 Harry
AS811 George
AS999 Kevin
Example:
(Company} -> {CEO} (if we know the Company, we knows the CEO name)
But CEO is not a subset of Company, and hence it's non-trivial functional dependency.
Transitive dependency:
A transitive is a type of functional dependency which happens when t is indirectly formed
by two functional dependencies.
Example:
Alibaba Jack Ma 54
{Company} -> {CEO} (if we know the compay, we know its CEO's name)
{ Company} -> {Age} should hold, that makes sense because if we know the company
name, we can know his age.
Note: You need to remember that transitive dependency can only occur in a relation of
three or more attributes.
What is Normalization?
Normalization is a method of organizing the data in the database which helps you to
avoid data redundancy, insertion, update & deletion anomaly. It is a process of analyzing
the relation schemas based on their di erent functional dependencies and primary key.
Functional Dependency avoids data redundancy. Therefore same data do not repeat
at multiple locations in that database
It helps you to maintain the quality of data in the database
It helps you to defined meanings and constraints of databases
It helps you to identify bad designs
It helps you to find the facts regarding the database design
Summary
Top Tutorials
About
About Us
Advertise with Us
Write For Us Selenium Testing Hacking
Contact Us
Career Suggestion
SAP Career Suggestion Tool
So ware Testing as a Career
Certificates
Interesting
Books to Read! SAP Java Python
Blog
Quiz
eBook
Execute online
Execute Java Online
Execute Javascript
Execute HTML
Jmeter Informatica JIRA
Execute Python