| | |
query to find closest
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2008
Posts: 20
Reputation:
Solved Threads: 0
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?
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
![]() |
Similar Threads
- query nearest time (Visual Basic 4 / 5 / 6)
- MySQL query to loop through results distinctly (MySQL)
Other Threads in the MySQL Forum
- Previous Thread: How to countdown to a date in MySQL
- Next Thread: Converting queries from MySQL 4 to MySQL 5
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groklaw groupware hiring hyperic images innerjoins ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql syntax techsupport thunderbird transparency virtualization





