HAVING syntax is used to filter grouped and aggregated data. The difference between HAVING and WHERE is that HAVING is executed on data after grouping (GROUP BY) and before ordering (ORDER BY) while WHERE is executed on the original data before aggregation.* | SELECT column, aggregate function GROUP BY [ column name | alias | serial number ] HAVING aggregate function operator value
=, <>, >, <, >=, <=, BETWEEN, IN, or LIKE.* |selectavg(responseTime) as time_avg,URLgroup byURLhavingavg(responseTime)> 1000order byavg(responseTime) desclimit10000
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback