SELECT rank ,  sex ,  count(*) FROM Faculty GROUP BY rank ,  sex
Show all the ranks and the number of male and female faculty for each rank.
SELECT rank , sex , count ( * ) FROM Faculty GROUP BY rank , sex
select rank , sex , count ( * ) from faculty group by rank , sex
Show all the ranks and the number of male and female faculty for each rank .