issues
search
shinkeonkim
/
TIL
Today I Learned
0
stars
0
forks
source link
[데이터베이스] 순위를 구하는 함수
#24
Closed
shinkeonkim
closed
4 months ago
shinkeonkim
commented
4 months ago
RANK: 같은 값은 같은 순위로, 이로 인한 중간값 없어짐
ex) 1, 1, 3, 4, 5
DENSE_RANK: 같은 값은 같은 순위로, 그대로 이어서 진행
ex) 1, 1, 2, 3, 4
ROW_NUMBER: 같든 말든 유일한 순위로 부여
ex) 1, 2, 3, 4, 5
예시에서는 1번째와 2번째 값이 같은 상황이다.
예시에서는 1번째와 2번째 값이 같은 상황이다.