Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Refining database design through Normalization

Rating
-
Sold
-
Pages
6
Uploaded on
17-03-2023
Written in
2022/2023

This document gives u information about Refining database design through Normalization and the first three normal forms are explained in this document. It is in an understandable format with diagrams and appropriate examples and relevant question answers.

Show more Read less
Institution
Course

Content preview

Database Management (Unit-4) | 4331603
Unit– IV: Refining database design through Normalization (Marks-12)
 Explain Functional Dependency with suitable example. 04 – Winter-2021, 2019, 2016, 2015,
Summer-2020, 2017
What is Functional Dependency?
 Let R be a relation schema having n attributes A1, A2, A3,…,An.




 Let attributes X and Y are two subsets of attributes of relation R.
 “If the values of the X component of a tuple uniquely (or functionally) determine the values of the
Y component, then there is a functional dependency from X to Y.”
 This is denoted by X → Y (i.e RollNo → Name, SPI, BL).
 It is referred as: Y is functionally dependent on the X or X functionally determines Y.
 The abbreviation for functional dependency is FD or fd.
 The set of attributes X is called the left hand side of the FD, and Y is called the right hand side.
 The left hand side of the FD is also referred as determinant whereas the right hand side of the FD is
referred as dependent.
 Functional dependency diagram and examples




 Example,
o Consider the relation Account(account_no, balance, branch).
o account_no can determine balance and branch.
o So, there is a functional dependency from account_no to balance and branch.
o This can be denoted by account_no → {balance, branch}.




 Explain fully functional dependency with example. 04 – Summer-2019, Winter-2015
Full Functional Dependency
 In a relation, “the attribute Y is fully functional dependent on X if Y is functionally dependent on X,
but not on any proper subset of X.”
 Means dependency doesn’t hold after remove of any attribute from X.

Department of Information Technology [Ms. Nikita A. Patel] 1

, Database Management (Unit-4) | 4331603
 Example,
o {Roll_No, Semester, Department_Name} → SPI
o We need all three {Roll_No, Semester, Department_Name} to find SPI.




Partial Functional Dependency
 In a relation, the attribute Y is partial functional dependent on X if Y is functionally dependent on
X as well as on any proper subset of X.
 If there is some attribute that can be removed from A and the still dependency holds then it is partial
functional dependency.
 Example,
o {Enrollment_No, Department_Name} → SPI
o Enrollment_No is sufficient to find SPI, Department_Name is not required to find SPI.


Transitive Functional Dependency
 In a relation, if attribute(s) A → B and B → C, then C is transitively depends on A via B (A → C).
 Example,
Staff_No → Branch_No; Branch_No → Branch_Address; then Staff_No → Branch_Address;


 Explain delete anomalies. 03 – Winter-2019, 2015
What is an anomaly in database design?
 Anomalies are problems that can occur in poorly planned, unnormalized database where all the data
are stored in one table.




Department of Information Technology [Ms. Nikita A. Patel] 2

Written for

Institution
Course

Document information

Uploaded on
March 17, 2023
Number of pages
6
Written in
2022/2023
Type
Class notes
Professor(s)
Ms. nikita a. patel
Contains
All classes

Subjects

$9.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
vatsalpatel

Get to know the seller

Seller avatar
vatsalpatel GTU
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
5
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions