select * from D0IDO d0ido left outer join O0CISELNIK o0ciselnik on o0ciselnik.idpk = d0ido.idpk_duch_druh