i am looking for a select statement that when given a specific set of co-ords(lng1+lat1) it will return all the rows within a 1km radius of lng1+lat1? this is to work with a mysql server?
|_id_|_lat_|lng_|
row 1 | 1 | 1.3 |5.3 |
row 2 | 2 | 1.3 |5.2 |
row 3 | 3 | 2.3 |5.9 |
1 Answer