Database: restaurant_1
Question: List all female students age is older than 18 who is not majoring in 600. List students' first name and last name.
SQL: select fname , lname from student where age  >  18 and major != 600 and sex = 'f';