Write a query to find second highest salary of an employee.
Answer Posted / jeff
select max(salary)
from Emp
where rownum < 2;
| Is This Answer Correct ? | 3 Yes | 19 No |
Post New Answer View All Answers
What is the basic structure of an sql?
What is primary key sql?
Can we use views in stored procedure?
Explain table and field in sql?
How subquery works in sql?
How do I make sql search faster?
What is the difference between join and natural join?
how to fetch alternate records from a table? : Sql dba
How many types of relationship are there?
What will you get by the cursor attribute sql%rowcount?
how to implement one-to-one, one-to-many and many-to-many relationships while designing tables? : Sql dba
How many sectors are in a partition?
What does an inner join do?
What are different types of triggers?
How many types of literals are available in pl sql?