일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 생성형AI
- 자연어처리
- dfs
- 니트코드
- LeetCode
- 구글퀵랩
- 파이썬
- GenerativeAI
- Python3
- 리트코드
- stratascratch
- gcp
- medium
- codeup
- sql코테
- 슬라이딩윈도우
- slidingwindow
- 파이썬기초100제
- 알고리즘
- two-pointer
- 투포인터
- Python
- nlp
- GenAI
- heap
- SQL
- 코드업
- 파이썬알고리즘
- 릿코드
- Microsoft
Archives
- Today
- Total
목록partitionby (1)
Tech for good

https://platform.stratascratch.com/coding/9854-find-the-5-highest-salaries?code_type=3 # 풀이1select department, worker_id, salaryfrom (select *, rank() over(partition by department order by salary desc) as rnk from worker) as ctewhere rnk = 1;# 풀이2select worker_id, department, salaryfrom( select *, max(salary) over(partition by department) as max_dep from worker) as ctewhere salary = max_de..
IT/Data Science
2025. 2. 27. 06:11