R3
2
S8
S9
R3
1
S9
S10
R3
1
RouteT0定义如下:
RouteT0
create view RouteT0
as
select
sr1.Stop as StartStop, —启始站点
sr2.Stop as EndStop, —目的站点
sr1.Route as Route, —乘坐线路
sr2.Position-sr1.Position as StopCount —经过的站点数
from
stop_route sr1,
stop_route sr2
where
sr1.Route=sr2.Route
文章来源于领测软件测试网 https://www.ltesting.net/