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

How do I alter a column in postgresql?

549


How do I add one column in postgresql?

578


What are the advantages of postgresql?

614


What is foreign key in access?

574


How does clustering in improving the performance?

580






How do I connect to pgadmin server?

623


What is postgres vacuum?

562


What is the difference between sql and postgresql?

591


What does truncate table do?

548


What is the difference between oracle and postgresql?

581


Is postgresql the same as mysql?

580


Why is pgadmin used?

575


What is a postgres tuple?

644


What do you mean by catalog?

599


Is mysql faster than postgresql?

526