determine occurrences of a value in sql count code example Example: count occurrences sql SELECT age, count(age) FROM Students GROUP by age