please help me to understand the answer to this exercise about multivalued dependencies in Relational Database Design, ok,the problem is as follows:
Consider the relation StudentInfo(sID, dorm, courseNum). Students typically live in several dorms and take many courses during college. Suppose the data does not capture which dorm(s) a student lived in when taking a specific course, i.e., all dorm-course combinations are recorded for each student. What are all of the multivalued dependencies for relation StudentInfo?
These are the posible answers:
a) sID ->> dorm
b) sID ->> courseNum
c) sID ->> dorm, sID ->> courseNum ->> correct
d) sID ->> dorm, sID ->> courseNum, dorm ->> courseNum
Now, the correct answer is c.
Somethings that I can't grasp are:
Is dorm ->> courseNum
a multivalued dependency?
Why dorm ->> courseNum
implies that all students in each dorm take the same set of courses?
A lot of thanks, sorry for my english and lastly, the question was taken from Stanford Lagunita