Task: Text to Code
Input (English): List all female students age is older than 18 who is not majoring in 600. List students' first name and last name.
Output (English): SELECT Fname , Lname FROM Student WHERE Age  >  18 AND Major != 600 AND Sex = 'F'