Created
January 8, 2020 05:08
-
-
Save bAcheron/d505989ce3e9bc756fcf58f8e760117b 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
Select | |
EXTRACT( | |
hour | |
FROM | |
cast(starttime as datetime) | |
), | |
count(*) | |
from | |
bike_rides | |
group by | |
EXTRACT( | |
hour | |
FROM | |
cast(starttime as datetime) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment