Skip to content

Commit c357874

Browse files
authored
DOCSP-13270 SQL Syntax correction on agg group page (#2373)
1 parent 08e800f commit c357874

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
@@ -334,7 +334,8 @@ This aggregation operation is equivalent to the following SQL statement:
334334
Avg(quantity) AS averageQuantity,
335335
Count(*) AS Count
336336
FROM sales
337-
GROUP BY Date(date)
337+
WHERE date >= '01/01/2014' AND date < '01/01/2015'
338+
GROUP BY date
338339
ORDER BY totalSaleAmount DESC
339340

340341
.. seealso::

0 commit comments

Comments
 (0)