Google News
logo
SQL Server - Quiz(MCQ)
_________ returns the rank of rows within the partition of a result set, without any gaps in the ranking.
A)
DENSE_RANK
B)
NTILE
C)
RANK
D)
ROW_NUMBER

Correct Answer :   DENSE_RANK


Explanation : DENSE_RANK function makes the rank of a row is one plus the number of distinct ranks that come before the row in question.

Advertisement