Consider the following set of statements:
1. An SQL query can contain a HAVING clause only if it has a GROUP BY clause.
2. The outer join preserves those tuples that would be lost in a join, by creating tuples in the result containing null values.
3. Select operation in SQL is equivalent to selection operation in relational algebra.
Which of the above statements is incorrect?
1
Only 1
2
Only 3
3
Both 1 and 2
4
Both 1 and 3