In this blog post, you’ll learn more about the Sybase Error Illegal reference to correlation name ‘%1’ and the reason for receiving this error
Sybase SQL Error Message
Illegal reference to correlation name ‘%1’
Reason for this Error
Your query contains a reference in a table expression to a correlation name that is not contained in that table expression.