I'm trying to build a query in design view that will display the lowest values of a specified field. When I say lowest I mean all but the top value.
For example:
Field 1 Field 2
123456 120
123456 150
123456 190
234567 130
234567 210
In this example I would only want to show the lowest values in field 2, per field 1. So it would look like this.
Field 1 Field 2
123456 120
123456 150
234567 130
Basically removing the line with the highest value in field 2. Can this be done in design view or would this need to be done with an SQL query. If it needs to be done with an SQL query can someone help me write this?
Thanks for any help you can provide.
For example:
Field 1 Field 2
123456 120
123456 150
123456 190
234567 130
234567 210
In this example I would only want to show the lowest values in field 2, per field 1. So it would look like this.
Field 1 Field 2
123456 120
123456 150
234567 130
Basically removing the line with the highest value in field 2. Can this be done in design view or would this need to be done with an SQL query. If it needs to be done with an SQL query can someone help me write this?
Thanks for any help you can provide.