engineering computer science MCQ #893

Which SQL clause is used to filter groups based on conditions?

engineering computer science MCQ #893

  1. Question 1

    Q1. Which SQL clause is used to filter groups based on conditions?

    • A) WHERE
    • B) HAVING
    • C) GROUP BY
    • D) ORDER BY

    Answer: HAVING

    Explanation: HAVING clause filters groups based on conditions applied to aggregated values, such as SUM or AVG.