In this blog post, you’ll learn more about the Sybase Error Cycle in common table expression references and the reason for receiving this error
Sybase SQL Error Message
Cycle in common table expression references
Reason for this Error
Cycles involving multiple common table expressions are not allowed.