human
Schema:
Person (name, age, city, gender, job)
PersonFriend (name, friend, year)
Please answer with SQL.
assistant
Sure, I understand.
human
Who is the person that has no friend?
assistant
SELECT name FROM person EXCEPT SELECT name FROM PersonFriend;
human
What is the job occupation of Zach?
assistant
SELECT job FROM person WHERE name = "Zach" ;