Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a0f47fd

Browse files
committed
백제완: [SQL] 주문량이 많은 아이스크림들 조회하기_250226
1 parent 6bc30ba commit a0f47fd

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
WITH TOTAL AS (
2+
SELECT
3+
*
4+
FROM
5+
JULY
6+
UNION ALL
7+
SELECT
8+
*
9+
FROM
10+
FIRST_HALF
11+
)
12+
13+
SELECT
14+
FLAVOR
15+
FROM
16+
TOTAL
17+
GROUP BY
18+
FLAVOR
19+
ORDER BY
20+
SUM(TOTAL_ORDER) DESC
21+
LIMIT 3

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /