Employee table as follows
Name Salary
Ram 12000
Asif 15000
Suresh 15000
mohan 18000
Bhuva 19000
asif 25500
Pavan 34000
i want to get the third highest salary using the above Employee table.
Name Salary
Ram 12000
Asif 15000
Suresh 15000
mohan 18000
Bhuva 19000
asif 25500
Pavan 34000
i want to get the third highest salary using the above Employee table.
Jignesh KumarPosted Nov 17, 2021, 7:00 AM
geetha geethaPosted Nov 17, 2021, 6:20 AM
FROM
(SELECT TOP 3 salary
FROM salary
ORDER BY salary DESC) AS Comp
ORDER BY salary ASC
Purvesh SanganiPosted Sep 20, 2017, 2:13 AM
ashok maramPosted Sep 15, 2017, 3:42 AM
Tapan PatelPosted Sep 14, 2017, 2:31 PM
Guest UserPosted Sep 14, 2017, 2:07 PM
Puneet KankarPosted Sep 13, 2017, 1:31 PM
Tapan PatelPosted Sep 13, 2017, 12:16 PM