Computer Science

Which clause cannot be used with "aggregate functions" ?

  1. GROUP BY
  2. SELECT
  3. WHERE
  4. Both (1) and (3)

SQL Joins & Grouping

1 Like

Answer

WHERE

Reason — Aggregate functions cannot be used with the WHERE clause in SQL because the WHERE clause filters rows before any grouping or aggregation occurs.

Answered By

3 Likes


Related Questions