Task: Text to Code
Input (English): Step 1: for each value of Type in screen_mode table, calculate number of rows.
Step 2: show each value of Type in screen_mode table along with the corresponding number of rows with smallest value in the results of step 1
Output (English): SELECT Type , Count ( * ) FROM screen_mode GROUP BY Type ORDER BY Count ( * ) Asc LIMIT 1