dragonflyuk 0 Newbie Poster

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.