Hi
My queries need to search for 1600 higher, and 1600 lower than a given
integer. One integer is a 'northing' and another an 'easting' - map
grid references.
I would like the results returned to be ordered with the numbers
'closest' to the given northing and easting combing first.
my query is
---
SELECT userid,postcode,northing,easting FROM memberpostcodes WHERE
(northing > $min_seek_northing) AND (northing < $max_seek_northing)
AND (easting > $min_seek_easting) AND (easting < $max_seek_easting)
---
Therefore, I cannot 'order by easting' etc - as it'll unfairly load
the results (I'm trying to list the results in order of closeness).
Any ideas?
Joe