Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Explain how the GROUP BY clause works. What is the difference between the WHERE and HAVING clauses?

Explain how the GROUP BY clause works. What is the difference between the WHERE and HAVING clauses?

Answers


kelvin
SQL first applies the WHERE clause. Then it conceptually arranges the table based on the grouping column(s). Next, applies the HAVING clause and finally orders the result according to the ORDER BY clause.
kevowmuchiri answered the question on July 4, 2018 at 15:41

Answer Attachments

Exams With Marking Schemes

Related Questions