HPE NonStop SQL/MX Error – 4163 GROUP BY is not supported for embedded name1 expression. Tables in scope: name2.

In this blog post, let’s learn about the error message “4163 GROUP BY is not supported for embedded name1 expression. Tables in scope: name2.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4163 GROUP BY is not supported for embedded name1 expression. Tables in scope: name2.

Reason for the Error

You attempted to perform a GROUP BY in conjunction with an embedded expression.

Solution

Modify the statement and resubmit