Last active
December 5, 2017 14:17
-
-
Save Scarysize/5e2f9f3eda76b22266aa8e9226393e15 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- get all trips happening on a regular monday | |
SELECT | |
trips.trip_id | |
FROM | |
trips, | |
calendar | |
WHERE | |
calendar.monday == 1 | |
AND | |
trips.service_id == calendar.service_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment