Database: apartment_rentals
Question: Show each gender code and the corresponding count of guests sorted by the count in descending order.
SQL:
SELECT gender_code ,  COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC