Which two statements are true regarding the GROUP BY clause in a SQL statement?

Which two statements are true regarding the GROUP BY clause in a SQL statement?
(Choose two.)

Which two statements are true regarding the GROUP BY clause in a SQL statement?
(Choose two.)

A.
If the SELECT clause has an aggregate function, then those individual columns without
an aggregate function in the SELECT clause should be included in the GROUP BY clause.

B.
Using the WHERE clause before the GROUP BY clause excludes the rows before

creating groups.

C.
You can use column alias in the GROUP BY clause.

D.
The GROUP BY clause is mandatory if you are using an aggregate function in the
SELECT clause.

E.
Using the WHERE clause after the GROUP BY clause excludes the rows after creating
groups.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Ab Hin

Ab Hin

Answer is: A & B