Created
October 17, 2014 01:15
-
-
Save theeban275/76f4f5322be6fe07d3f6 to your computer and use it in GitHub Desktop.
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 uuid, response, hex(asbinary(geospatialcolumn)) | |
| from latestnondeletedarchentidientifiers join latestnondeletedarchent using (uuid) | |
| WHERE arowid in (SELECT pkid | |
| FROM idx_archentity_geospatialcolumn | |
| WHERE pkid MATCH RTreeIntersects(?, ?, ?, ?)) | |
| ORDER BY uuid, attributename ASC, valuetimestamp desc) | |
| GROUP BY limit ?; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment