Created
December 15, 2014 20:34
-
-
Save thorwebdev/c5b483737f52cafcfa76 to your computer and use it in GitHub Desktop.
Calculate the number of trips that started in a certain area.
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 | |
pickup_polyId, | |
COUNT(*) AS no_of_trips | |
FROM | |
[nyctaximap:dataflow.nyc_output_join_fare_distinct] | |
GROUP BY | |
pickup_polyId | |
ORDER BY | |
no_of_trips DESC; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment