Skip to content
Permalink
Browse files
Refine the GINQ doco
  • Loading branch information
daniellansun committed Apr 12, 2022
1 parent 4bd6b87 commit 00a635fe0100e3515806e3bc73da72455585b90f
Showing 1 changed file with 2 additions and 1 deletion.
@@ -299,7 +299,8 @@ Only binary expressions(`==`, `&&`) are allowed in the `on` clause of hash join
==== Grouping
`groupby` is equivalent to SQL's `GROUP BY`, and `having` is equivalent to SQL's `HAVING`
`groupby` is equivalent to SQL's `GROUP BY`, and `having` is equivalent to SQL's `HAVING`.
Each field in any nonaggregate expression in the `select` clause **must** be included in the `groupby` clause.
[source, sql]
----
include::../test/org/apache/groovy/ginq/GinqTest.groovy[tags=ginq_grouping_01,indent=0]

0 comments on commit 00a635f

Please sign in to comment.