L122: Select with no GROUP BY has column name/function or a column name not in GROUP BY.

See the section Error SQLCODES in your IBM Database Messages and Codes manual, message -122, for information.
Restriction: This topic applies to Windows environments only.