Using the functional dependency notation used in Examples 14.4, 14.5, list the functional dependencies that exist in
Question:
Using the functional dependency notation used in Examples 14.4, 14.5, list the functional dependencies that exist in the below table attached figure. All attributes should be included at least once.
EXAMPLE 14.4 Example of a transitive functional dependency
Consider the following functional dependencies within the StaffBranch
staffNo → sName, position, salary, branchNo, bAddress
branchNo → bAddress
The transitive dependency branchNo → bAddress exists on staffNo via branchNo. In other words, the staffNo attribute functionally determines the bAddress via the branchNo attribute and neither branchNo nor bAddress functionally determines staffNo.
EXAMPLE 14.5 Identifying a set of functional dependencies for the StaffBranch relation
We begin by examining the semantics of the attributes in the StaffBranch relation. For the purposes of discussion, we assume that the position held and the branch determine a member of staff's salary. We identify the functional dependencies based on our understanding of the attributes in the relation as:
staffNo → sName, position, salary, branchNo, bAddress
branchNo → bAddress
bAddress → branchNo branchNo, position → salary
bAddress, position → salary
We identify five functional dependencies in the StaffBranch relation with staffNo, branchNo, bAddress, (branchNo, position), and (bAddress, position) as determinants. For each functional dependency, we ensure that all the attributes on the right-hand side are functionally dependent on the determinant on the left-hand side.
Fundamentals Of Database Systems
ISBN: 9780133970777
7th Edition
Authors: Ramez Elmasri, Shamkant Navathe