L
lee
zip code zone
100-150 1
150-200 2
200-300 3
300-400 4
310 5
Table 2
facility zip code
ca 105
il 240
mn 270
I have two tables and need to join them and get the result below.
Table 1 zip code field either has zip code in range or as a whole no.
It has to link with the zip code field in table 2
Following result is required using SQL query . Please help
facility zip code zone
ca 105 1
il 240 3
mn 270 3
100-150 1
150-200 2
200-300 3
300-400 4
310 5
Table 2
facility zip code
ca 105
il 240
mn 270
I have two tables and need to join them and get the result below.
Table 1 zip code field either has zip code in range or as a whole no.
It has to link with the zip code field in table 2
Following result is required using SQL query . Please help
facility zip code zone
ca 105 1
il 240 3
mn 270 3