2 2 votes Databases relational-algebra databases + – pa-try 2.8k views answer comment Share Follow Print See all 8 Comments 8 8 Comments reply Show 5 previous comments srestha commented May 28, 2018 reply Follow flag For 3) projection and selection are non commutative So, 3 should be false 0 0 replyShare Mk Utkarsh commented May 28, 2018 reply Follow flag i was thinking the same but then what should be the output of RHS ? 0 0 replyShare Soumya29 commented May 28, 2018 reply Follow flag @Utkarsh, I think output won't change. @Srestha, Yes, they are not commutative. Bt if attributes that are included in condition c is a subset of attributes of projection operation then the query will be valid. 0 0 replyShare Please log in or register to add a comment.
2 2 votes All the Statements are True Hence Option (d) yogi_p answered Nov 14, 2017 yogi_p comment Share Follow See all 3 Comments 3 3 Comments reply Rishabh Gupta 2 commented Dec 4, 2017 reply Follow flag 1 and 2 are correct. But, How is 3 correct? Suppose the condition C is applied on some attributes, say $A_{n+1}$ which is not in the projections. 1 1 replyShare srivivek95 commented Dec 4, 2017 reply Follow flag Standard results: http://www.cs.iusb.edu/~hhakimza/B561/Lecture/Part_3f_Query_Processing_Optimization.pdf For more refer : https://stackoverflow.com/questions/7708293/are-selection-and-projection-associative @ Rishabh Gupta 2 You are specifying the case that was not asked in the question. For your query the option 3 will not hold 0 0 replyShare sachin486 commented Jan 15, 2022 reply Follow flag only 1 and 2 are correct and 3 is not true always reason comment rishabh gupta 0 0 replyShare Please log in or register to add a comment.