Most join conditions are based on equality, and so are called equijoins. For example,
SELECT * FROM Departments JOIN Employees ON Departments.DepartmentID = Employees.DepartmentID; |
However, you do not have to use equality (=) in a join condition. You can use any search condition, such as conditions containing LIKE, SOUNDEX, BETWEEN, > (greater than), and != (not equal to).
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |