Skip to content

Commit 2fd6b3b

Browse files
authored
DOCSP-13270 SQL Syntax correction on agg group page (#2399)
1 parent 1ceb642 commit 2fd6b3b

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
@@ -318,7 +318,8 @@ This aggregation operation is equivalent to the following SQL statement:
318318
Avg(quantity) AS averageQuantity,
319319
Count(*) AS Count
320320
FROM sales
321-
GROUP BY Date(date)
321+
WHERE date >= '01/01/2014' AND date < '01/01/2015'
322+
GROUP BY date
322323
ORDER BY totalSaleAmount DESC
323324

324325
.. seealso::

0 commit comments

Comments
 (0)