思路:
先对顾客的订单进行分组,然后按降序查询次数 输出第一个
select customer_number from Orders group by customer_number
order by count(customer_number) desc limit 1;
思路:
先对顾客的订单进行分组,然后按降序查询次数 输出第一个
select customer_number from Orders group by customer_number
order by count(customer_number) desc limit 1;