I have about 50,000 rows of wells, each has a lat/long associated with it. I want to have a square box around each well with a list of all of the other wells that are within that box. I.e. I want to have a list for each well of other wells that are close to it. For example if one is 51.9640/111.1443 and another is 51.9641/111.1461 then they would be in the same "box". Seems like this would be something that's easy to do in SQL but I'm not too familiar with it.
Bookmarks