I a MSAccess database which contains the following table
Table A
#
Column1 Column2 Amount
======= ======= ======
Value1 Total+ 100
Value1 Total- -50
Value2 Total- -233
Value2 Total+ +5
I want to be write a query that will give me distinct rows for the highest absolute amounts
Expected Results
Column1 Column2 Amount
======= ======= ======
Value1 Total+ 100
Value2 Total- -233
This result set can be retrieved with the following query.
Then, if you want to see the values of
Column2andAmountfor those same rows, you can create a query which uses the first one as a subquery and which you join toTable_A.