Database: activity_1
Question: Show all the ranks and the number of male and female faculty for each rank.
SQL:
SELECT rank ,  sex ,  count(*) FROM Faculty GROUP BY rank ,  sex