select * from D1_RAZ_FASOVA d1_raz_fasova left outer join D0IDO d0ido on d0ido.idpk = d1_raz_fasova.idpk_zamestnanec