n this blog, I will show how to calculate the distances between the hotels and Thai restaurants in some locations in the US using the SDO_DISTANCE function. With this function, users can get the distances of their warehouses to their customers, find the distances of the nearest banks from store locations, and calculate how far the schools are from residential houses. You may refer to this link for more details about this function in the Oracle Database.