Joining Tables
When two objects referenced with a foreign key relationship are added to the query, they become joined automatically with INNER JOIN. For those servers that do not support the JOIN clause, the query builder adds a condition to the WHERE part of the query.
Note: LEFT JOIN, RIGHT JOIN, and UNION are not supported. Only INNER JOIN is
supported for now.
To join two objects manually, perform these
steps: