I have a table like this:
Device | Rating ----------------- iPhone | 1 iPhone | 2 iPhone | 4 iPhone | 5 Android | 3 Android | 5
I want t