select * from D4_RIZ_VAZBA d4_riz_vazba inner join D4_RIZ_PRAC d4_riz_prac on d4_riz_prac.idpk = d4_riz_vazba.idpk_prac