select order_num,count(order_num) order_lines from OrderItems group by order_num // 根据订单号进行分组 order by order_lines asc // 按订单个数升序排列