Task: Text to Code
Input (English): SQL: SELECT T1.student_capacity , T1.gender FROM Dorm AS T1 JOIN Dorm_amenity AS T2 JOIN Has_amenity AS T3 ON T1.dormid = T3.dormid AND T3.amenid = T2.amenid WHERE T2.amenity_name LIKE "Donor"
Feedback: Instead of amenity name use dorm 's dorm name in step 2.
Output (English): SELECT student_capacity ,  gender FROM dorm WHERE dorm_name LIKE '%Donor%'