找到每个人的任务

简介

left join

select a.id, a.name, b.content from
person as a
left join task as b
on b.person_id = a.id
order by a.id;
Hope is a good thing,maybe the best of things,and no good thing ever dies.----------- Andy Dufresne
原文地址:https://www.cnblogs.com/eat-too-much/p/14957953.html