Administration guide > Troubleshoot > Messages > CWXQY: Messages for the query engine component
CWXQY1255E
WRONGTERMFORGP=CWXQY1255E: The field {0} appears in a SELECT or HAVING clause without an aggregate function but is not specified in the GROUP BY clause.
Explanation
When performing a grouping operation, elements of the SELECT clause must either be aggregation functions or be grouping elements. The field indicated by token {0} is used in the SELECT clause and does not appear in an aggregation function but is not a grouping element.
User response
Correct the query statement.
Parent topic:
CWXQY: WebSphere eXtreme Scale messages for the query engine component