How many people are there in total?
select count(*) from person
How many people are in the friendship database?
select count(distinct name) from personfriend
Who is not in it?
select name from person except select name from personfriend