I have a problem details at http://sqlfiddle.com/#!3/8e018/1
I have a table of members having marks of all the students. I am trying to get the count of all the students in ranges like
0-9 = number of students 9,
10 -19 = number of students 0 and so on up to 100.
Plus if some body can point to an nice tutorial on case statements will be very good
The answers given are fine. but my ranges are fixed. i have to show 0 as well if there is no applicant This is the main difference what my question is having. like i have show also the category.