Computer Sciences > GATE 2014 SET-3 > Relational Algebra
Consider the relational schema given below, where empId 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, empId, depName, depAge)
Consider the following relational algebra query:
πempId (employee) – πempId (employee ⋈(empId = eID)∧(empAge ≤ depAge) dependent)
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.

Explanation

Correct : d

Similar Questions

What is the worst-case time complexity of insertion in an AVL tree?
Question #23 Medium
Which operations on a binary search tree have O(h) complexity?
Question #31 Easy
Compare search complexities of sorted array vs balanced BST.
Question #47 Hard

Related Topics

Data Structures Binary Search Tree Time Complexity Algorithm Analysis Tree Algorithms Computer Science