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