begin %TEMPSQL%
TmpAgg(x,y,t) :- Travel(x,y,t). 
end %TEMPSQL%