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
each gender code refers to SELECT gender_code; corresponding count of guests refers to COUNT(*); sorted by count in descending order refers to ORDER BY COUNT(*) DESC;