select * from OHFM_VAR ohfm_var left outer join O0CISELNIK o0ciselnik on o0ciselnik.idpk = ohfm_var.idpk_var