Find out the 3rd highest salary?
Answer Posted / nikhilesh roy
WITH
CTE as
(select emp_id,salary,rn=row_number() over (order by salary desc) from emp_table )
select * from CTE where rn=3;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is error ora-01000: maximum open cursors exceeded
What are the two types of exceptions.
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
what is commit? : Sql dba
How many types of normalization are there?
Why we use stored procedure instead of query?
what is the difference between a web-garden and a web-farm? : Sql dba
Is postgresql a nosql database?
What are the types of queries in sql?
How does stored procedure reduce network traffic?
What is difference between sql function and stored procedure?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
What is pl sql code?
How many types of functions are there in sql?
How show all rows in sql?