S
Sharp
Hi
Consider the following table:
field1 field2
10 15
20 500
30 40
40 100
50 55
I want to select rows where the data value is similar (within +/- 10%).
The percentage constraint is important as it could change in the future.
I expect the following query output.
field1 field2
10 15
30 40
50 55
Any help appreciated.
Cheers
Sharp
Consider the following table:
field1 field2
10 15
20 500
30 40
40 100
50 55
I want to select rows where the data value is similar (within +/- 10%).
The percentage constraint is important as it could change in the future.
I expect the following query output.
field1 field2
10 15
30 40
50 55
Any help appreciated.
Cheers
Sharp