SQL Query to Find Nth Highest Salary Using Dense Rank Function

SQL Query to Find Nth Highest Salary Using Dense Rank Function

Crack Concepts

2 года назад

20,891 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SantoshSingh-du7rx
@SantoshSingh-du7rx - 07.06.2023 01:32

What if there's a duplicate salary?

Ответить
@Funnybhadrakia
@Funnybhadrakia - 28.04.2023 21:10

Thank you mam

Ответить
@haribabuarava9270
@haribabuarava9270 - 27.02.2023 06:15

Excellent explanation.... Thanks

Ответить
@janesarkhan4599
@janesarkhan4599 - 16.12.2022 20:36

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

Ответить
@moviesworld764
@moviesworld764 - 12.12.2022 22:21

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

Ответить
@shayan3381
@shayan3381 - 28.09.2022 23:28

Mam please use the max function instead of dense rank

Ответить
@shayan3381
@shayan3381 - 28.09.2022 23:28

Mam please use max function

Ответить
@Myk_hawk_02
@Myk_hawk_02 - 19.08.2022 01:20

Saadia appi you are great ❤️❤️❤️

Ответить
@dileepsingh6565
@dileepsingh6565 - 18.07.2022 21:25

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

Ответить
@mohamedshahidomar3682
@mohamedshahidomar3682 - 03.07.2022 21:05

Does rank function gives the same result?

Ответить
@ankursingh730
@ankursingh730 - 23.06.2022 18:40

Do you have any suggestion for SQL course to be taken for beginners/intermediate/advanced level?

Ответить
@Lalit_Sharma_20
@Lalit_Sharma_20 - 22.06.2022 13:53

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

Ответить
@kranthikumar6043
@kranthikumar6043 - 11.06.2022 16:31

Why did you use "in line" sub query

Ответить
@SatyamSingh-uq2hm
@SatyamSingh-uq2hm - 11.06.2022 11:29

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

Ответить