UGC-NET Dec 2013 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0036

The student marks should not be greater than 100. This is
  1. A
    Integrity constraint
  2. B
    Referential constraint
  3. C
    Over-defined constraint
  4. D
    Feasible constraint

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionRequiring marks \(\le 100\) restricts the allowed values of an attribute. This is a domain (CHECK) constraint, which is a kind of integrity constraint.(B) A referential constraint links a foreign key to a primary key — incorrect.(C) and (D) are not database constraint types — incorrect.Answer: A

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com