In this blog post, let’s learn about the error message “4021 The select list contains a nongrouping non-aggregated column, name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4021 The select list contains a nongrouping non-aggregated column, name.
Reason for the Error
You specified a select list that contains a nongrouping, nonaggregated column name, which is not supported.
Solution
Correct the syntax and resubmit