I have the following table, where the latitude and longitude fields specify a point on the map.
|id |latitud |longitud |
| --- | ------ --------| ---------------- |
| 001 |19.4400570537131|-99.1270470974249 |
| 002 |19.437904276995 |-99.1286576775023 |
| 003 |19.4360705910348|-99.1297865731994 |
| 001 |19.4424869116657|-99.1238332599196 |
I need to make a query that returns me the number of records that are around the point (19.4400570537131, -99.1270470974249) in a radius of 1000 meters.
If it is not possible with MySQL, I can use PostgreSQL
