Created
October 5, 2015 17:36
-
-
Save aleszu/cf58ef78302b0d292125 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 | |
ST_MakeLine(the_geom_webmercator ORDER BY date_time ASC) AS the_geom_webmercator, | |
extract(month from date_time) AS month, | |
bird_name | |
FROM bird_tracking | |
WHERE | |
date_time > '2013-08-15' | |
AND date_time < '2014-01-01' | |
GROUP BY | |
bird_name, | |
month |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment