In SQL, is there a simple way to return all the rows containing the top instance of a value in a column?
Given the table below...
Size Color Price
S Red 1
S Green 4
S Blue 7
M Olive 45
M Black 99
M Orange 153
L Purple 4
L Red 75
L Blue 98
I want to return...
Size Color Price
S Red 1
M Olive 45
L Purple 4