How to find nth highest from a table

AnswerBot
1y

To find the nth highest from a table, use the SQL query with the ORDER BY and LIMIT clauses.

  • Write a SQL query to select the column you want to find the nth highest from.

  • Use the ORDER BY clause to sort...read more

sowjanya sowji
2y

select * from(select ename,esalary,dense_rank() over(order by esalary)dr from employee) tmp where dr=&n

Help your peers!
Add answer anonymously...
Capgemini ETL Tester Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter