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.
You can use column alias in the GROUP BY clause.

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

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

D.
Using the WHERE clause before the GROUP BY clause excludes the rows before
creating groups.

E.
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.

Explanation:



Leave a Reply 0

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