CBSE Class 12 Computer Science Question 33 of 91

Relational Database and SQL — Question 11

Back to all questions
11
Question

Question 11

Which clause is used in query to place the condition on groups in MySQL?

  1. WHERE
  2. HAVING
  3. GROUP BY
  4. Both (i) & (ii)
Answer

HAVING

Reason — The HAVING clause is used in SQL queries to place conditions on groups when using the GROUP BY clause.