Database: pets_1
Question: What is the first name and gender of the all the students who have more than one pet?
SQL:
SELECT T1.fname ,  T1.sex FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid  =  T2.stuid GROUP BY T1.stuid HAVING count(*)  >  1