I have a MySQL table with user name, latitude and longitude of the user.
I would like to get a list of users who are inside the circle or square of a given latitude and longitude with given distance. For example, my input Lat = 78.3232 and Long = 65.3234 and distance = 30 miles. I would like to get the list of users who are inside 30 miles distance from the point 78.3232 and 65.3234.
Is it possible to solve this with single query? Or can you give me a hint start solving this query?