SELECT DISTINCT `id` as `hid`, `haendler`.*, (6368 * SQRT(2*(1-cos(RADIANS(haendler.lat)) *
cos(0.67417356615561) * (sin(RADIANS(haendler.lng)) *
sin(-2.1174334485195) + cos(RADIANS(haendler.lng)) *
cos(-2.1174334485195)) - sin(RADIANS(haendler.lat)) * sin(0.67417356615561)))) AS `Distance`
FROM `haendler` WHERE `id` IN (819261, 986325, 988800, 990858, 997017, 987351) ORDER BY `Distance` ASC LIMIT 500
Is something missing here?
Do you have a business in Carmichael? Enter it for free in a few steps.
Register now!
© 2024, Wogibtswas / Locabee. All brand names and trademarks are the property of their respective owners. All information without guarantee. Status 04.10.2024 10:56:43