Which of the following operations are binary operations in relational algebra?
Question:
3. Which of the following operations are binary operations in relational algebra?
(a) Projection
(b) Union
(c) Cartesian Product
(d) Rename
Answer:
(b) Union and (c) Cartesian product
Binary operations are operations that are having two operands. For example, in A U B, A and B are operands and U is operation. (Πcname(Customer))U(Πcname(CPhone)) is an union operation between two relational algebra expressions.
Projection and Rename operations are Unary operations involving only one relation as operand.
No comments:
Post a Comment