Which of the following is a unary operation?

2020

Which of the following is a unary operation?

  1. A.

    Intersection

  2. B.

    Projection

  3. C.

    Join

  4. D.

    Cartesian Product

Attempted by 433 students.

Show answer & explanation

Correct answer: B

A unary operation is an operation that is performed on a single relation. In Relational Algebra, Projection (𝝅) and Selection (σ) are primary unary operations. Intersection, Join, and Cartesian Product are binary operations because they require two relations to operate. The correct option is B.

Explore the full course: Niacl Ao It Specialist