Calculating Distance in Miles from Latitude and Longitude

Uses Google’s GeoCoding API and some simple maths in SQL