
  select c.city as city_from, cc.city as city_to, sc.*  from schedule sc, starts_stops ss, cities c, cities cc, routes r where sc.Id_route = ss.id and
  ss.id_city_from = c.id and ss.id_city_to = cc.id and r.id_route = ss.id_route order by 1,2, sc.time asc
