Database: dorm_1
Question: Find the number of students whose age is older than the average age for each gender.
SQL:
SELECT count(*) ,  sex FROM student WHERE age  >  (SELECT avg(age) FROM student) GROUP BY sex