SELECT homelist.*
FROM homelist
LEFT OUTER JOIN agency ON homelist.agency_id = agency.agency_id
LEFT OUTER JOIN donor ON homelist.donor_id = donor.donor_id
LEFT OUTER JOIN land ON homelist.land_id = land.land_id
LEFT OUTER JOIN host ON homelist.host_idcard = host.host_idcard
LEFT OUTER JOIN progress ON homelist.progress_id = progress.progress_id
SELECT homelist.*,host.host_idcard,host.host_name,host.host_lastname ,host.host_province
FROM homelist
LEFT OUTER JOIN agency ON homelist.agency_id = agency.agency_id
LEFT OUTER JOIN donor ON homelist.donor_id = donor.donor_id
LEFT OUTER JOIN land ON homelist.land_id = land.land_id
LEFT OUTER JOIN host ON homelist.host_idcard = host.host_idcard
LEFT OUTER JOIN progress ON homelist.progress_id = progress.progress_id