我试图限制到纬度/经度范围,但不知道该怎么做 这是我试过的
SELECT name, venue, location, start_time, eid FROM event
WHERE eid IN (
SELECT eid FROM event_member
WHERE (uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) OR uid = me())
)
AND start_time > now()
AND venue.latitude < '-22.821757'
AND venue.latitude > '-23.056989'
但坐标比较不起作用,因为我正在比较字符串
如果我拿走了我得到的报价:
(#601) Parser error: unexpected '-' at position 233
https://developers.facebook.com/tools/explorer
由于