Database: pets_1_total_0
Question: Find the first name of students who have both cat and dog pets .
SQL: select t1.fname from student_has_pet_pets as t1 where t1.pettype = 'cat' intersect select t1.fname from student_has_pet_pets as t1 where t1.pettype = 'dog'