HPE NonStop SQL/MX Error – 4011 Reference made to column name via star (*) is ambiguous.

In this blog post, let’s learn about the error message “4011 Reference made to column name via star (*) is ambiguous.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4011 Reference made to column name via star (*) is ambiguous.

Reason for the Error

You referred to column name using the SELECT * or SELECT TBL.* reference, and NonStop SQL/MX could not locate the column because the reference is ambiguous.

Solution

Correct the syntax and resubmit