Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere Server - SQL Usage » Query and modify data » Joins: Retrieving data from several tables » Specialized joins

 

Self-joins

In a self-join, a table is joined to itself by referring to the same table using a different correlation name.

 Example 1
 Example 2
 Example 3