In this blog post, let’s learn about the error message “4162 GROUP BY is not supported for stream expression. Tables in scope: name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4162 GROUP BY is not supported for stream expression. Tables in scope: name.
Reason for the Error
You attempted to perform a GROUP BY in conjunction with a stream expression.
Solution
Modify the statement and resubmit