UGC-NET Jun 2014 · ER-Model

MCQ · 2 marks · Problem DBMS-RELM-0017

Match the following $:$ $\begin{array} {cIcI} & \textbf{List – I} && \textbf{List – II} \\  \text{a.} & \text{DDL} & \text{i.} & \text{LOCK TABLE} \\  \text{b.} & \text{DML} & \text{ii.} & \text{COMMIT} \\  \text{c.} & \text{TCL} & \text{iii.} & \text{Natural Differece} \\  \text{d.} & \text{BINARY} & \text{iv.} & \text{REVOKE} \\  &  \text{Operation} \end{array}$ $\textbf{Codes :}$
  1. A
    $\text{a-ii; b-i; c-iii; d-iv}$
  2. B
    $\text{a-i; b-ii; c-iv; d-iii}$
  3. C
    $\text{a-ii; b-iii; c-i; d-iv}$
  4. D
    $\text{a-iv; b-i; c-ii; d-iii}$

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

Show the worked solutionHere REVOKE is counted with the definition-level commands (it changes privileges in the schema), so a-iv. LOCK TABLE is classed as a DML statement, as in Oracle (b-i). COMMIT is transaction control, TCL (c-ii). Natural difference (set difference) is a binary operation on two relations (d-iii). So a-iv, b-i, c-ii, d-iii, which is option (D).Answer: D

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