JOIN Queries
The Adapter supports standard SQL joins like the following examples.
Inner Join
An inner join selects only rows from both tables that match the join condition:
SELECT p.ProductName, pc.CategoryName, pc.CategoryOwner, opc.CategoryAvgPrice FROM Product p INNER JOIN ProductCategory pc ON p.CategoryID = pc.CategoryID
Left Join
A left join selects all rows in the FROM table and only matching rows in the JOIN table:
SELECT p.ProductName, pc.CategoryName, pc.CategoryOwner, opc.CategoryAvgPrice FROM Product p LEFT JOIN ProductCategory pc ON p.CategoryID = pc.CategoryID