Task: Text to Code
Input (English): SQL: SELECT Avg ( Age ) FROM Student WHERE Sex = "F" AND Sex = "F"
Feedback: Replace Last sex equals F with sex equals M .
Output (English): SELECT avg(age) ,  sex FROM Student GROUP BY sex