select * from D4_FN_RIZ d4_fn_riz inner join D4_FN_PRAC_FCE d4_fn_prac_fce on d4_fn_prac_fce.idpk = d4_fn_riz.idpk_funkce