Notice
Recent Posts
Recent Comments
250x250
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- curdate
- split
- datediff
- join
- 재퀴쿼리
- DATE_FORMAT
- rrule
- tableau
- 표준오차
- 표분편차
- 정규분포
- lambda
- 표본분포
- python
- dateofmonth
- limit
- 태블로
- 프로그래머스
- concat
- 신뢰구간
- 재귀쿼리
- 레이더차트
- pivot table
- Recursive
- truncate
- 데이터 리터러시
- merge
- 모집단
- calesce
- floor
Archives
- Today
- Total
반응형
hyezdata 님의 블로그
Biggest Single Number 본문
# 한번만 나타나는 숫자 중 가장 큰 숫자
# 만약 없다면 null
select max(num) as num
from (select num
from mynumbers
group by num
having count(num)=1
) as single_num
Biggest Single Number - LeetCode
Can you solve this real interview question? Biggest Single Number - Table: MyNumbers +-------------+------+ | Column Name | Type | +-------------+------+ | num | int | +-------------+------+ This table may contain duplicates (In other words, there is no pr
leetcode.com
728x90
반응형
'코딩테스트' 카테고리의 다른 글
| Swap Sex of Employees (0) | 2026.05.30 |
|---|---|
| Exchange Seats (0) | 2026.05.30 |
| Triangle Judgement (0) | 2026.05.25 |
| Sales Person (0) | 2026.05.25 |
| Customer Placing the Largest Number of Orders (0) | 2026.05.22 |