Created
March 24, 2021 15:26
-
-
Save securetorobert/3088ce20994df635a73817437a6ec2f1 to your computer and use it in GitHub Desktop.
How many hires do we have before 2017
This file contains hidden or 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
SELECT | |
COUNT(rental_id) | |
FROM | |
`bigquery-public-data.london_bicycles.cycle_hire` | |
WHERE | |
DATE_TRUNC(DATE(end_date), year) < '2017-01-01' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment