CS FundamentalsHardGATE CS

An ER diagram has Student (key roll, multivalued attribute phone), Course (key cid) and Faculty (key fid). Enrols is many-to-many between Student and Course, and Advises is one-to-many from Faculty to Student, with total participation of Student. What is the minimum number of tables in a correct relational design?

  1. A. 5
  2. B. 4
  3. C. 6
  4. D. 7

Correct answer: A. 5

Student, Course and Faculty need a table each, the multivalued phone needs Student_Phone(roll, phone), and the M:N Enrols needs its own table: 5. The 1:N Advises is absorbed as a non-null fid column in Student, so it needs no table.

More DBMS and SQL questions

Exams that ask this topic