Context: CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE has_pet (age INTEGER, stuid VARCHAR)
Question: Find the average age of students who do not have any pet .
Answer: SELECT AVG(age) FROM student WHERE NOT stuid IN (SELECT stuid FROM has_pet)