Explain how functional dependencies can be used to indicate the following:
- A one-to-one relationship set exists between entity sets student and instructor.
- A many-to-one relationship set exists between entity sets student and instructor.
Let denote the primary key of relation .
-
The functional dependencies and indicate a one-to-one relationship because any two tuples with the same value for student must have the same value for instructor, and any two tuples agreeing on instructor must have the same value for student.
-
The functional dependency indicates a many-to-one relationship since any student value which is repeated will have the same instructor value, but many student values may have the same instructor value.