Skip to content

Commit acd4ddb

Browse files
authored
Update 15-00586-customer-placing-the-largest-number-of-orders.sql
1 parent 3fde977 commit acd4ddb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1+
-- the the cusotmer with maximum order count, order by, limit
12

3+
select customer_number
4+
from Orders
5+
group by 1
6+
order by count(order_number) desc
7+
limit 1
8+
9+
10+
-- adobe- 2
11+
-- google- 3
12+
-- apple- 2
13+
-- uber- 2
14+
-- twitter- 1

0 commit comments

Comments
 (0)