1b.
Find the id value for the stop 'Craiglockhart'
Results
1c.
Give the id and the name for the stops on
the '4' 'LRT' service.
Results
Routes and stops
2a.
The query shown gives the number of routes that visit either London Road (149)
or Craiglockhart (53). Run the query and notice the two services that
link these stops have a count of 2.
Add a HAVING clause to restrict the output to these two routes.
Results
2b.
Execute the self join shown and observe that b.stop gives all
the places you can get to from Craiglockhart.
Change the query so that it shows the services from Craiglockhart
to London Road.
Results
2c.
The query shown is similar to the previous one, however
by joining two copies of the stops table we can refer to
stops by name rather than by number.
Change the query so that the services between 'Craiglockhart'
and 'London Road' are shown.
If you are tired of these places try 'Fairmilehead' against 'Tollcross'