1.

Which of the function provides consecutive numbering except in the case of a tie?(a) RANK(b) NTILE(c) ROW_NUMBER(d) None of the mentionedThe question was asked in an online quiz.My question comes from Ranking topic in portion Manipulating Data with Select of SQL Server

Answer»

Correct option is (a) RANK

To EXPLAIN I would SAY: RANK FUNCTION is used when you WANT all tied rows to have the same RANKING.



Discussion

No Comment Found

Related InterviewSolutions