Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

What's the difference between RANK() and DENSE_RANK() functions in oracle?

Asked by Abhi Subramaniam Jun 16, 2021 1.4K views 1 answer
Share

About this question

What's the difference between RANK() and DENSE_RANK() functions? How to find out nth salary in the following emptbl table?

DEPTNO  EMPNAME    SAL

------------------------------

10       rrr    10000.00

11       nnn    20000.00

11       mmm    5000.00

12       kkk    30000.00

10       fff    40000.00

10       ddd    40000.00

10       bbb    50000.00

10       ccc    50000.00

If in the table data having nulls, what will happen if I want to find out the nth salary?

Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.