Group By Clause
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
The GROUP BY clause is supported, with the following Entry SQL level restrictions:
- The COLLATE clause is not supported.
- SELECT DISTINCT is not supported for queries which also have a GROUP BY clause.
- The grouping column reference cannot be an alias. The following queries
fail because
fcis an alias for theintcolcolumn:SELECT intcol AS fc, COUNT (*) FROM p_gtable GROUP BY fc SELECT f(col) as fc, COUNT (*) FROM table_name GROUP BY fc