human
Schema:
Person (name, age, city, gender, job)
PersonFriend (name, friend, year)
Please answer with SQL.
assistant
Sure, I understand.
human
How many people are there in total?
assistant
SELECT COUNT( * ) FROM person;
human
How many people are in the friendship database?
assistant
SELECT COUNT( DISTINCT name ) FROM personfriend ;