1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-28 11:39:52 +02:00
Description of having clause filter is incorrect. The current query filters for Customers with a total amount strictly greater than $3000.
This commit is contained in:
Mindy Flores
2024-05-10 17:42:16 -07:00
committed by GitHub
parent 5a2305193b
commit e1f32a13ab

View File

@@ -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.