I have a question regarding a FULL OUTER JOIN in MySQL. I have two (or more tables):
table1 table2 id value id value2 1 a 1 b 2 c 3 d
SELECT COALESCE(t1.id, t2.id) as id, t1.value1, t2.value2 FROM table1 t1 FULL JOIN table2 t2 ON t1.id = t2.id;