select * from D4_RIZ_ZARAZENI d4_riz_zarazeni inner join D4_RIZ_PRAC d4_riz_prac on d4_riz_prac.idpk = d4_riz_zarazeni.idpk_prac