I have a table where I keep users numbers and their "score"
user_number | score
0832824 6
0478233 3
... ...
The score goes from 3 to 15. I want to create a query that would fetch the score and the total of users with this score. But I need to make four different groups of score : 12 to 15, 8 to 11, 5 to 7 and less than 5.
Sort of like this :
score | total_users
12 to 15 5000
8 to 11 3000
... ...
Thanks for any answer you can provide!