begin %AGGREG% CREATE_VIEW shortestpath(x,y,t) SELECT tl.x, tl.y, min(tl.t) FROM Travel as tl WHERE GROUP tl.x, tl.y HAVING end %AGGREG%