Let's say I have a column full of values of something, like band names:
Band names
Poison
Beatles
Metallica
Beatles
Beatles
Poison
Is there a query that I can run that will give me the frequency/occurrence of each distinct value in that column in descending order?
For example, for the column above it would give:
Beatles 3
Poison 2
Metallica 1
Thanks for any help, I'm a SQL beginner and this has me perplexed...