diff --git a/master/html/ch04s02.html b/master/html/ch04s02.html index ea3f9ca..f811f5d 100644 --- a/master/html/ch04s02.html +++ b/master/html/ch04s02.html @@ -182,7 +182,7 @@ GROUP BY trip_id, service_id, route_id, date; INSERT INTO trips_mdb(trip_id, service_id, route_id, date, trip) -SELECT trip_id, route_id, t.service_id, d.date, +SELECT trip_id, t.service_id, route_id, d.date, shift(trip, make_interval(days => d.date - t.date)) FROM trips_mdb t JOIN service_dates d ON t.service_id = d.service_id AND t.date <> d.date;

diff --git a/master/mobilitydb-workshop.epub b/master/mobilitydb-workshop.epub index 1ff5cda..13d2040 100644 Binary files a/master/mobilitydb-workshop.epub and b/master/mobilitydb-workshop.epub differ diff --git a/master/mobilitydb-workshop.pdf b/master/mobilitydb-workshop.pdf index 6bd1b84..c5e55cc 100644 Binary files a/master/mobilitydb-workshop.pdf and b/master/mobilitydb-workshop.pdf differ