From e1f32a13abfee4bb00eb9827aa4cbc6bcaf1b946 Mon Sep 17 00:00:00 2001 From: Mindy Flores Date: Fri, 10 May 2024 17:42:16 -0700 Subject: [PATCH] Fix query (#5424) Description of having clause filter is incorrect. The current query filters for Customers with a total amount strictly greater than $3000. --- .../roadmaps/sql/content/104-aggregate-queries/102-having.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/sql/content/104-aggregate-queries/102-having.md b/src/data/roadmaps/sql/content/104-aggregate-queries/102-having.md index caa5b1c3f..6458c9c82 100644 --- a/src/data/roadmaps/sql/content/104-aggregate-queries/102-having.md +++ b/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. \ No newline at end of file +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.