CREATE TABLE Guests (gender_code VARCHAR)

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 NULLS LAST