GATE CS 2012 · Question 50 · Databases · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Common Data for Questions 50 and 51:
Consider the following relations A, B and C:
A
B
C
How many tuples does the result of the following relational algebra expression contain? Assume that the schema of A ∪ B is the same as that of A.
(A ∪ B) _(A.Id > 40 ∨ C.Id < 15) C

IdNameAge
12Arun60
15Shreya24
99Rohit11
IdNameAge
15Shreya24
25Hari40
98Rohit20
99Rohit11
IdPhoneArea
10220002
99210001
  1. (A) 7
  2. (B) 4
  3. (C) 5
  4. (D) 9
Answer

Answer (A)

Answer from the official GATE CS 2012 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes