Used in the
WHEREclause. The syntax is:ST_INTERSECTS(<location_column>, <geometry>)
ST_INTERSECTScannot be combined withORDER BY ST_DISTANCE.
Request: Order by DistanceFind 10 rows nearest to the given location.
SELECT 'Store Name', Pharmacy, Hours FROM 1EIv-k-417_BWrgm4mNANo-Ejvc94hZYsvh7jIA WHERE Pharmacy='yes' AND ST_INTERSECTS(Address, CIRCLE(LATLNG(37.3242,-121.9806),5000))
Trying to push the limits of App Inventor!
Snippets and
Tutorials from
Pura Vida Apps by
Taifun.