Skip to content
Snippets Groups Projects
Commit f602cba3 authored by Jared Hancock's avatar Jared Hancock Committed by Peter Rotich
Browse files

orm: not every query needs a group by clause

If there are annotations in an SQL statement, but there are no aggregate
functions used (such as SUM, COUNT, etc), then a GROUP BY clause is not
technically required. Using one implies sorting of the results to ensure
uniqueness--prior to sorting them according to the requested sort in the ORDER
BY clause.
parent 5fd91619
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment