| | |
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 aws bizspark breathalyzer 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 insert 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 mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization





