I am trying to run a query to combine 2 tables. The relationship is one that includes all values from one table and only the values from the other table that match. This is the problem. I want the values that do not have an exact match from the first table to show the next higher value from the second table.
ie.
1st table 2nd table Current Query Output
10000 20000 20000 25000 10000 20000
15000 20000 35000 40000 15000 20000
20000 25000 20000 25000 20000 25000
25000 30000 25000 30000
35000 40000 35000 40000 35000 40000
Desired Query Output
10000 20000 20000 25000
15000 20000 20000 25000
20000 25000 20000 25000
25000 30000 35000 40000
35000 40000 35000 40000
Any Ideas??
ie.
1st table 2nd table Current Query Output
10000 20000 20000 25000 10000 20000
15000 20000 35000 40000 15000 20000
20000 25000 20000 25000 20000 25000
25000 30000 25000 30000
35000 40000 35000 40000 35000 40000
Desired Query Output
10000 20000 20000 25000
15000 20000 20000 25000
20000 25000 20000 25000
25000 30000 35000 40000
35000 40000 35000 40000
Any Ideas??