human
Schema:
Person (name, age, city, gender, job)
PersonFriend (name, friend, year)
Please answer with SQL.
assistant
Sure, I understand.
human
How many distinct jobs do the people have?
assistant
SELECT COUNT( DISTINCT job ) FROM person;
human
What are these jobs?
assistant
SELECT DISTINCT job FROM person ;