Gate CS-2014-3 Question Paper With Solutions

Q. 40 Consider the relational schema given below, where eId of the relation dependent
is a foreign key referring to empId of the relation employee. Assume that every
employee has at least one associated dependent in the dependent relation.

employee (empId, empName, empAge)
dependent(depId, eId, depName, depAge)

Consider the following relational algebra query:

Gate CS-2014-3 Question Paper With Solutions
The above query evaluates to the set of empIds of employees whose age is greater than that of

(A) some dependent

(B) all dependents

(C) some of his/her dependents

(D) all of his/her dependents

Answer: (D)

Explanation:

Gate CS-2014-3 Question Paper With Solutions

Learn More:   Gate EC-2014 - 1 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here