LEFT JOIN
RIGHT JOIN
UNION
FULL OUTER JOIN
SELECT * FROM a LEFT JOIN b UNION SELECT * FROM a RIGHT JOIN b;
UNION ALL