Description of having clause filter is incorrect. The current query filters for Customers with a total amount strictly greater than $3000.
pull/3534/head^2
Mindy Flores 7 months ago committed by GitHub
parent 5a2305193b
commit e1f32a13ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      src/data/roadmaps/sql/content/104-aggregate-queries/102-having.md

@ -48,4 +48,4 @@ As a result, the query returns:
| John | 6000 |
| Mary | 6000 |
In this case, the `HAVING` clause filters out all Customers with a total `Amount` less than $3000. Only John and Mary have the total sum of `Amount` more than or equal to $3000. Thus, only these records satisfy the `HAVING` clause and are included in the result.
In this case, the `HAVING` clause filters out all Customers with a total `Amount` less than or equal to $3000. Only John and Mary have the total sum of `Amount` more than $3000. Thus, only these records satisfy the `HAVING` clause and are included in the result.

Loading…
Cancel
Save