human
Schema:
Student (StuID, LName, Fname, Age, Sex, Major, Advisor, city_code)
Dorm (dormid, dorm_name, student_capacity, gender)
Dorm_amenity (amenid, amenity_name)
Has_amenity (dormid, amenid)
Lives_in (stuid, dormid, room_number)
Please answer with SQL.
assistant
Sure, I understand.
human
Please show me the information of all students who are under 25 years old
assistant
SELECT * FROM student WHERE age < 25;
human
and of those, please now just show the female students
assistant
SELECT * FROM student WHERE sex = "F" AND age < 25 ;