Forum

This content is now out of date.

Visit Our Community

SQL-92: When did the support for the GROUP BY clause start

When did the support for the general group-by-expression start?

The support for the general group-by-expression started in OpenEdge 10.1B. That is it became permissible to include SQL-92 functions like LPAD, RPAD, RTRIM, LTRIM etc. in the SELECT statement that contains a GROUP BY clause. For example, the following SELECT statement was not supported in versions earlier than the OpenEdge 10.1B version:

SELECT Country, LPAD(RTRIM(LTRIM(City)), 10) FROM PUB.Customer GROUP BY Country, City;