human
Schema:
Person (name, age, city, gender, job)
PersonFriend (name, friend, year)
Please answer with SQL.
assistant
Sure, I understand.
human
Show all names of the men.
assistant
SELECT name FROM person WHERE gender = 'male';
human
Order them by descending age.
assistant
SELECT name FROM person WHERE gender = 'male' ORDER BY age DESC;
human
Reverse the oder.
assistant
SELECT name FROM person WHERE gender = "male" ORDER BY age ;