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
Find the first name and gender of student who have more than one pet.
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
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 ( * ) > value
Find the first name and gender of student who have more than one pet .