robrodp
asked on
Range of a field depending in a related table ms sql 2995
I have a table a with numeric values
1
3
5
6
12
34
54
16
And another
0
10
20
30
40
I need a query to give me in wich ranga the values of table 1 fall.
for example, 6 relates to record 1 (0<=6<10) 31 relates to record 4 (30<=31<40)
1
3
5
6
12
34
54
16
And another
0
10
20
30
40
I need a query to give me in wich ranga the values of table 1 fall.
for example, 6 relates to record 1 (0<=6<10) 31 relates to record 4 (30<=31<40)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window