human
Schema:
Person (name, age, city, gender, job)
PersonFriend (name, friend, year)
Please answer with SQL.
assistant
Sure, I understand.
human
What is the last name alphabetically?
assistant
SELECT name FROM person ORDER BY name DESC LIMIT 1;
human
What is the occupation for Zach?
assistant
SELECT job FROM person WHERE name = "Zach" ;