SELECT gender_code ,  COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC
Show each gender code and the corresponding count of guests sorted by the count in descending order.
SELECT gender_code , COUNT ( * ) FROM Guests GROUP BY gender_code ORDER BY COUNT ( * ) DESC
select gender_code , count ( * ) from guests group by gender_code order by count ( * ) desc
Show each gender code and the corresponding count of guests sorted by the count in descending order .