Prova en vänsteranslutning:
select * from task t
left join unit ut on ut.id = t.unit_id
left join building bt on bt.id = t.building_id
Prova en vänsteranslutning:
select * from task t
left join unit ut on ut.id = t.unit_id
left join building bt on bt.id = t.building_id