select * from D4_RIZ_VAZBA d4_riz_vazba inner join D4_RIZ_RIZIKA d4_riz_rizika on d4_riz_rizika.idpk = d4_riz_vazba.idpk_rizika