• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Aptitude | GATE CS 1998 | Question 54

Which of the following query transformations (i.e., replacing the l.h.s. expression by the r.h.s. expression) is incorrect? R1 and R2 are relations. C1, C2 are selection conditions and A1, A2 are attributes of R1. a.  σC1( σC2R1)) → σC2(σC1(R1)) b.  σC1( πA1R1)) → πA1(σC1(R1)) c.  σC1( R1 ∪ R2 ) → σC1(R1) ∪ σC1(R2) d.  πA1(σC1(R1)) → σC1 (πA1 (R1))

(A)

a

(B)

b

(C)

c

(D)

d

Answer

Please comment below if you find anything wrong in the above post
Feeling lost in the world of random DSA topics, wasting time without progress? It's time for a change! Join our DSA course, where we'll guide you on an exciting journey to master DSA efficiently and on schedule.
Ready to dive in? Explore our Free Demo Content and join our DSA course, trusted by over 100,000 geeks!

Last Updated :
Share your thoughts in the comments