Oracle
1Z0-071 · Question #70
Which two statements are true regarding the GROUP BY clause in a SQL statement? (Choose two.)
The correct answer is D. Using the WHERE clause before the GROUP BY clause excludes the rows before creating E. If the SELECT clause has an aggregate function, then those individual columns without an. See the full explanation below for the reasoning.
Question
Which two statements are true regarding the GROUP BY clause in a SQL statement? (Choose two.)
Options
- AYou can use column alias in the GROUP BY clause.
- BUsing the WHERE clause after the GROUP BY clause excludes the rows after creating groups.
- CThe GROUP BY clause is mandatory if you are using an aggregate function in the SELECT
- DUsing the WHERE clause before the GROUP BY clause excludes the rows before creating
- EIf the SELECT clause has an aggregate function, then those individual columns without an
How the community answered
(46 responses)- A4% (2)
- B11% (5)
- C2% (1)
- D83% (38)
Community Discussion
No community discussion yet for this question.