select * from C1DIETY c1diety left outer join O0CISELNIK o0ciselnik on o0ciselnik.idpk = c1diety.idpk_typ_vydaje