select * from D1_FN_PRAC_FCE d1_fn_prac_fce left outer join D1CISELN d1ciseln on d1ciseln.ciselnik = d1_fn_prac_fce.fk_prac_fce_ciselnik and d1ciseln.klic1 = d1_fn_prac_fce.fk_prac_fce_klic1