Task: Text to Code
Input (English): Step 1: find the number of rows of each value of bedType in Rooms table.
Step 2: find bedType of Rooms table with smallest value in the results of step 1
Output (English): SELECT bedType FROM Rooms GROUP BY bedType ORDER BY Count ( * ) Asc LIMIT 1