일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |
- 파이썬
- python
- coding test
- Growth hacking
- mysql
- tableau
- coding
- 코테
- sql
- LeetCode
- Queue
- 코딩테스트
- 코딩
- join
- 조합
- counter
- programmers
- level4
- lv4
- Level2
- lambda
- AARRR
- itertools
- hackerrank
- Stack
- 프로그래머스
- 완전탐색
- import re
- cte
- time complexity
- Today
- Total
목록SubQuery (3)
ror_coding

기존 코드도 좋지만, window function의 연산 범위를 잘 익혀야 한다! Question You are the restaurant owner and you want to analyze a possible expansion (there will be at least one customer every day).Compute the moving average of how much the customer paid in a seven days window (i.e., current day + 6 days before). average_amount should be rounded to two decimal places.Return the result table ordered by visited_on in ..

문제를 잘 읽자!!! subquery를 잘 활용하자..! Question Write a solution to:Find the name of the user who has rated the greatest number of movies. In case of a tie, return the lexicographically smaller user name.Find the movie name with the highest average rating in February 2020. In case of a tie, return the lexicographically smaller movie name.The result format is in the following example. Code select name a..

limit 1 offset 1; Question Write a solution to find the second highest distinct salary from the Employee table. If there is no second highest salary, return null (return None in Pandas).The result format is in the following example. Table: Employee +-------------+------+ | Column Name | Type | +-------------+------+ | id | int | | salary | int | +-------------+------+ id is the ..