how to count the number of occurences data in sql code example Example: count occurrences sql SELECT age, count(age) FROM Students GROUP by age