Created
September 14, 2011 06:20
-
-
Save Vizzuality/1215968 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_x(the_geom) as lon, | |
st_y(the_geom) as lat | |
FROM geo_ips | |
WHERE ip_start <=inetmi('69.31.103.39','0.0.0.0') | |
ORDER BY ip_start DESC | |
LIMIT 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment