P
Paul W Smith
I have a table as below:
X 210 5 TRUE A
Y 220 7 FALSE B
X 210 3 TRUE D
Y 219 1 TRUE B
Z 215 4 TRUE C
Z 212 5 FALSE D
X 209 1 TRUE A
Y 220 2 TRUE A
Z 221 3 TRUE B
What I am looking to return is the following, whether this by one
complicated query or a series of Queries:
X 210 3 TRUE D
Y 220 2 TRUE A
Z 221 3 TRUE B
I am trying to group on the first column and then find the Max of the second
column, and where this is equal, to use the record which has the Max of the
third column.
I do not wish to use any custom VBA functions.
X 210 5 TRUE A
Y 220 7 FALSE B
X 210 3 TRUE D
Y 219 1 TRUE B
Z 215 4 TRUE C
Z 212 5 FALSE D
X 209 1 TRUE A
Y 220 2 TRUE A
Z 221 3 TRUE B
What I am looking to return is the following, whether this by one
complicated query or a series of Queries:
X 210 3 TRUE D
Y 220 2 TRUE A
Z 221 3 TRUE B
I am trying to group on the first column and then find the Max of the second
column, and where this is equal, to use the record which has the Max of the
third column.
I do not wish to use any custom VBA functions.