Task: Text to Code
Input (English): SQL: SELECT Avg ( student_capacity ) , Min ( student_capacity ) FROM Dorm WHERE gender = "X"
Feedback: Replace " minimum student capacity with "total student capacity".
Output (English): SELECT avg(student_capacity) ,  sum(student_capacity) FROM dorm WHERE gender  =  'X'