Gate CS-2018 Question Paper With Solutions

Q. 59 Consider the relations r(A, B) and s(B, C), where s.B is a primary key and r.B is a foreign key referencing s.B. Consider the query

Q: r⋈(σB<5(s))
Let LOJ denote the natural left outer-join operation. Assume that r and s contain no null values.

Which one of the following is NOT equivalent to Q?

(A) σB<5(r ⋈ s)

(B) σB<5(r LOJ s)

(C) r LOJ (σB<5(s))

(D) σB<5(r)LOJ s

Answer: (C)

Explanation:

Gate CS-2018 Question Paper With Solutions

Learn More:   Gate ME 2014-4 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here