select * from D4_FN_KON_LP_Z d4_fn_kon_lp_z inner join D4_FN_PRAC_FCE d4_fn_prac_fce on d4_fn_prac_fce.idpk = d4_fn_kon_lp_z.idpk_funkce