select * from PSPLATKHL psplatkhl left outer join ODDOKR oddokr on oddokr.idpk = psplatkhl.idpk_oddokr