-- Database schema
| Student : StuID [ INT ] primary_key , LName [ TEXT ] , Fname [ TEXT ] , Age [ INT ] , Sex [ TEXT ] , Major [ INT ] , Advisor [ INT ] , city_code [ TEXT ] | Has_Pet : StuID [ INT ] Has_Pet.StuID = Student.StuID , PetID [ INT ] Has_Pet.PetID = Pets.PetID | Pets : PetID [ INT ] primary_key , PetType [ TEXT ] , pet_age [ INT ] , weight [ INT ] |
-- -- 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;