I have a table called warehouses, which has latitude & longitude columns. I am searching nearby warehouses from my current location (Providing latitude & longitude, radius) to find the warehouses nearby me in a given radius.
this operation needs to be performed by the query, not manual functions.