Sort the gender codes in descending order of their corresponding number of guests. Return both the gender codes and counts.
SELECT gender_code ,  COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC
Sort gender codes by their corresponding number of guests in descending order refers to ORDER BY COUNT(*) DESC; Return both gender codes and counts refers to SELECT gender_code, COUNT(*)