🌈 搜索
📅  最后修改于: 2022-03-11 15:05:29.539000             🧑  作者: Mango
SELECT * FROM A LEFT JOIN B ON A.id = B.id UNION ALL SELECT * FROM A RIGHT JOIN B ON A.id = B.id WHERE A.id IS NULL