select * from PSPLATKHL psplatkhl left outer join O1CISELN o1ciseln on o1ciseln.ciselnik = psplatkhl.mena_cis and o1ciseln.klic1 = psplatkhl.mena_klic