Table '%1' requires a unique correlation name

Item Value
SQLCODE -137
Constant SQLE_CORRELATION_NAME_NEEDED
SQLSTATE 52W15
Sybase error code 315
ODBC 2 State 37000
ODBC 3 State 42000
Parameter 1 Name of the table that needs a unique correlation name.

Probable cause 

You specified a join that joins a table to itself. You need to use unique correlation names in order to have multiple instances of a table.