Practice free →
HomeGATE CSEcomputerscienceDatabase Management Systems › Role names in an ER diagram are essential for

Role names in an ER diagram are essential for

Aany relationship of degree higher than 2
Brecursive relationships, where the same entity is on both sides
Cevery weak entity that depends on a strong owner
Drelationships between entities in different databases
Answer & Solution
Correct answer: B. recursive relationships, where the same entity is on both sides
On a recursive relationship like prereqOf(Course, Course), you must label which Course end is which (the pre-requisite vs the dependent). NPTEL: 'Role Names: essential in case of recursive relationships. Can be optionally specified in non-recursive cases.' Higher-degree relationships don't strictly require role names.
Solve this in the app — GATE CSE practice & 24k+ MCQs →
Related questions