G
Guest
The data set looks lite this:
A B C
1 c 49
1 b 85
1 c 24
2 d 18
2 f 98
2 e 62
2 e 97
3 f 74
3 a 99
I want to group/compress/choose rows from the data so that I get one row per
number in the A column. I want to choose the rows by a: the "highest" letter
in column B, and b: out of the remaining rows choose the highest number in
column C. The result would then look like:
A B C
1 c 49
2 f 98
3 f 74
I tried doing this using the group by-function, but realized it separates
the cells within a row from each other, and mixes them. I don´t want to think
about how much data I might have messed up in my database earlier doing
that... Hopefully not months of work....
And as usual, I would appreciate it if you could write what the
querycommands I need to use stand for(is short for), as I might have to
translate them into Swedish before I could use them... Thank you!!
A B C
1 c 49
1 b 85
1 c 24
2 d 18
2 f 98
2 e 62
2 e 97
3 f 74
3 a 99
I want to group/compress/choose rows from the data so that I get one row per
number in the A column. I want to choose the rows by a: the "highest" letter
in column B, and b: out of the remaining rows choose the highest number in
column C. The result would then look like:
A B C
1 c 49
2 f 98
3 f 74
I tried doing this using the group by-function, but realized it separates
the cells within a row from each other, and mixes them. I don´t want to think
about how much data I might have messed up in my database earlier doing
that... Hopefully not months of work....
And as usual, I would appreciate it if you could write what the
querycommands I need to use stand for(is short for), as I might have to
translate them into Swedish before I could use them... Thank you!!