1. Home
  2. Database Management Systems
  3. Database Management Systems
  4. Which SQL clause filters groups after aggregation has been…

Added 2 Nov 2026

Which SQL clause filters groups after aggregation has been applied?

  1. ORDER BY
  2. HAVING Correct answer
  3. GROUP BY
  4. WHERE

Correct answer

B. HAVING

16 views

MCQSEXAM

Explanation

HAVING filters grouped results, for example HAVING COUNT(*) > 5. WHERE filters individual rows before grouping and cannot use aggregate functions.

Reference

Asked in: GATE CS, NTS, PPSC, FPSC

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Database Management Systems MCQs

Practise all Database Management Systems MCQs

Similar MCQs