SQL Query to Find Nth Highest Salary Using Dense Rank Function

preview_player
Показать описание
Hi, In this video we've discussed SQL query for nth highest salary using dense rank function. This is an Important SQL Interview question.

✨Please like, share, subscribe and comment down. It would make my day :)

Thank you, have a nice day!
Рекомендации по теме
Комментарии
Автор

Do you have any suggestion for SQL course to be taken for level?

ankursingh
Автор

Ma'am you didn't give the definition or working of (DENSE_rank). Please elaborate it.

SatyamSingh-uqhm
Автор

If we have duplicates ...
Then how can we write query...?

moviesworld
Автор

Define a variable with Varchar 1000 and assign
the value ‘IND-India, JPN-Japan, US-United States’
This string can be of any length.
Write a dynamic query to insert data in a table with
two columns column 1 should have Country Short
Form and column 2 should have Country Full Form.
Output should be: -
Short Form Full Form
IND India
JPN Japan
US United States

Ma'am Please solve this question with explanation

dileepsingh
Автор

Sukriyaa mam. You solved my big question❤️❤️

janesarkhan
Автор

This can be said another way of finding second highest salary, video having 3 methods : max, limit, top right ?

Lalit_Sharma_
Автор

Does rank function gives the same result?

mohamedshahidomar
Автор

What if there's a duplicate salary?

Sanshsingh
Автор

Mam please use the max function instead of dense rank

shayan
Автор

Why did you use "in line" sub query

kranthikumar