Task: Text to Code
Input (English): SQL: SELECT T2.amenity_name 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 T1.student_capacity > 300
Feedback: Use dorm name , not amenity name in step 2.
Output (English): SELECT dorm_name FROM dorm WHERE student_capacity  >  300