Say we have the following tables t1 and t2:
t1: id | column_1 ------------- 1 | 1 2 | 2 t2: id | column_2 ------------- 2 | 2 3 | 3
Haven't tried this myself, but this might work:
SELECT t1.id, t1.column_1, t2.column_2, t2a.column_2 FROM t1 LEFT JOIN t2 ON t1.id = t2.id RIGHT JOIN t2 AS t2a ON t1.id = t2a.id