Database: pets_1_minus_1_0
Question: Find the number of dog pets that are raised by female students (with sex F).
SQL: select count ( * ) from student_has_pet as t1 join pets as t2 on t1.petid = t2.petid where t1.sex = 'f' and t2.pettype = 'dog'