Group By clause
- Last Updated: October 27, 2020
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Spark SQL 8.0
- 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.
- The grouping column reference cannot be an alias. Both of the following
queries fail, because
fcis an alias for theintcolcolumn:SELECT intcol AS fc, COUNT (*) FROM p_gtable GROUP BY fcSELECT f(col) as fc, COUNT (*) FROM table_name GROUP BY fc