patrickstrijdonck
Programmer
hi all,
i want to create a mysql query wichs looks to a zipcode
the query must search for a zipcode example: 1506 and when the zipcode is 80 higher or lower it must give those records wich are within 1426 and 1586, if the zipcode is: 1033 it must find all zipcodes within 1000 (because thats the lowest zipcode) and 1113
Then the zipcode is always 1506XW so can a query also seperate the 1506 from XW so he can calculate??
i hope you know what i mean, can someone tell me how to make that WHERE condition???
Ty in advance
i want to create a mysql query wichs looks to a zipcode
the query must search for a zipcode example: 1506 and when the zipcode is 80 higher or lower it must give those records wich are within 1426 and 1586, if the zipcode is: 1033 it must find all zipcodes within 1000 (because thats the lowest zipcode) and 1113
Then the zipcode is always 1506XW so can a query also seperate the 1506 from XW so he can calculate??
i hope you know what i mean, can someone tell me how to make that WHERE condition???
Ty in advance