Write query to fetch second maximum salary from employee table.
Answer Posted / abhishekjaiswal
select a.last_name,a.salary from employees a where 3=(select count(*) from employees b where b.salary>a.salary) order by a.salary desc.
<<<<<<<<<[N-1]>>>>>>>>>>
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How view is different from a table?
How to write a query with a left outer join in oracle?
interview questions with answer for cts
Can we create trigger on materialized view in oracle?
Oracle
nw i'm doing MBA system and planning to do oracle,database management.tell me that whether it is useful r not?.refer any course for my carrier pls
Respected sir, Please send me technical questions related to oracle apps..
How to check the oracle tns settings?
Explain about the analyze command in oracle?
Explain a synonym?
How to manage transaction isolation level?
List the various oracle database objects?
State and explain the different types of data models?
Name the various constraints used in oracle?
How to drop a stored procedure in oracle?