Skip to content

Commit 61c97c6

Browse files
authored
DOCSP-13270 SQL Syntax correction on agg group page (#2400)
1 parent f27c9be commit 61c97c6

File tree

1 file changed

+2
-1
lines changed
  • source/reference/operator/aggregation

1 file changed

+2
-1
lines changed

source/reference/operator/aggregation/group.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ This aggregation operation is equivalent to the following SQL statement:
319319
Avg(quantity) AS averageQuantity,
320320
Count(*) AS Count
321321
FROM sales
322-
GROUP BY Date(date)
322+
WHERE date >= '01/01/2014' AND date < '01/01/2015'
323+
GROUP BY date
323324
ORDER BY totalSaleAmount DESC
324325

325326
.. seealso::

0 commit comments

Comments
 (0)