Vazba
SQL vazba z tabulky rep na tabulku ts
select *
from rep rep
inner join ts ts on ts.ts_ina = rep.rep_ina