My SQL query:
SELECT * FROM 1910640 WHERE stype='P' OR stype='ERC' OR stype='PERC' ORDER BY ST_DISTANCE(geometry, LATLNG(-0.12623619999999391,51.5001524)) LIMIT 6
The result is a "parseerror". If I replace OR with AND, the request returns success:
SELECT * FROM 1910640 WHERE stype='P' AND stype='ERC' AND stype='PERC' ORDER BY ST_DISTANCE(geometry, LATLNG(-0.12623619999999391,51.5001524)) LIMIT 6
Has anyone else come across this using Fusion tables and have a solution / workaround?
The API implies only AND allowed, which was a big surprise for me. http://code.google.com/apis/fusiontables/docs/developers_guide.html#Querying
source share