human
Schema:
Person (name, age, city, gender, job)
PersonFriend (name, friend, year)
Please answer with SQL.
assistant
Sure, I understand.
human
What is the average age of all males?
assistant
SELECT AVG ( age ) FROM Person WHERE gender = 'male';
human
What are all the jobs of males?
assistant
SELECT job FROM Person WHERE gender = "male" ;