GATE 2015 CS – Question 31
SELECT operation in SQL is equivalent to
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (D) the projection operation in relational algebra, except that SELECT in SQL retains duplicates
Explanation
The SELECT clause chooses columns, which is projection in relational algebra. Unlike relational algebra, SQL does not remove duplicate rows unless DISTINCT is used.