Task: Text to Code
Input (English): SQL: SELECT bedType , Avg ( maxOccupancy ) FROM Rooms GROUP BY bedType
Feedback: Rather than max occupancy , Take base price .
Output (English): SELECT bedType ,  avg(basePrice) FROM Rooms GROUP BY bedType