human
Schema:
Person (name, age, city, gender, job)
PersonFriend (name, friend, year)
Please answer with SQL.
assistant
Sure, I understand.
human
How many friends does Zach have?
assistant
SELECT COUNT( friend ) FROM PersonFriend WHERE name = "Zach" ;