query to find closest

Reply

Join Date: Jul 2008
Posts: 20
Reputation: dragonflyuk is an unknown quantity at this point 
Solved Threads: 0
dragonflyuk dragonflyuk is offline Offline
Newbie Poster

query to find closest

 
0
  #1
Nov 26th, 2008
I have 2 tables with the basic structure

town, latitude, longitude
postcode, latitude, longitude

where latitude and longitude are both floats, and the town and postcode are just descriptive text.

I want a query that will display the closest postcode to each town, is it possible?
Dragonfly Services - Same Day Courier
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the MySQL Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC