Vazba
SQL vazba z tabulky D0TASK_HIST na tabulku D0TASK
select *
from D0TASK_HIST d0task_hist
inner join D0TASK d0task on d0task.idpk = d0task_hist.idpk_d0task
select *
from D0TASK_HIST d0task_hist
inner join D0TASK d0task on d0task.idpk = d0task_hist.idpk_d0task