Write a query to get 2nd maximum salary in an employee table ?
Answer Posted / satish
select rownum,employee_id,first_name,max(salary) from
employees
group by rownum,employee_id,first_name
having rownum<=2
order by rownum
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What is rtm in testing?
How do I write a sql query in pgadmin 4?
What problem one might face while writing log information to a data-base table in pl/sql?
How many sql are there?
What is a left inner join?
how many triggers are allowed in mysql table? : Sql dba
Is primary key is clustered index?
When to use inner join and left join?
What is procedure and function?
What is data definition language?
Which join is default?
what is a database transaction? : Sql dba
Mention what pl/sql package consists of?
what are the type of locks ? : Sql dba
What is numeric function sql?