Task: Text to Code
Input (English): SQL: SELECT dorm_name , student_capacity FROM Dorm ORDER BY dorm_name Asc LIMIT 1
Feedback: Make sure it have minimum number of amenities .
Output (English): SELECT T1.dorm_name ,  T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid  =  T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid  =  T3.amenid GROUP BY T2.dormid ORDER BY count(*) LIMIT 1