Hello Sir,
Can i plz have query of "Find the 6th highest salary from the table" .....plz send me d query
Try this code below:
select top 1 *
from (select top 6 *
from #tmpSalary
order by Salary) X
order by Salary desc
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.