select p.id,name,content 
from person p left join task t on p.id=t.person_id 
order by p.id

思路:用左连接就好