select * from D4_RIZ_MERENI d4_riz_mereni inner join D4_RIZ_PRAC d4_riz_prac on d4_riz_prac.idpk = d4_riz_mereni.idpk_prac