how to find nth lowest salary

Answer Posted / ezhumalai

with cte
as
(
select Salary,row_number() over ( order by Salary asc)rnt from EMP
)select * from cte where rnt=2

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the Maximum size for a table in PostgreSQL?

1040


How do I start postgresql on windows?

516


What is the default database in postgresql?

524


What happens to index when table is dropped?

542


What port does pgadmin use?

478






Which are different types of database administration tools used in postgresql?

512


What are the advantages of postgresql?

522


How does postgres store data?

514


What is the powerful database utility that can be used for building, executing and processing queries upon PostgreSQL databases?

1159


What is the latest version of postgresql?

504


What is the option used in PostgreSQL to increase the number of shared memory buffers shared among the backend processes

1005


Does aws support postgresql?

595


What is the difference between oracle and postgresql?

497


What does postgresql stand for?

502


What is the option that can be used in PostgreSQL to find out how the query optimizer is evaluating the query given?

952