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
Explain the difference between 'between' & 'and' operators in sql
What are stored procedures in mysql?
What is the difference between microsoft sql and mysql?
Why do we need cursor in pl sql?
What are the triggers associated with image items?
What are all the different normalization?
How many types of indexes are there in sql?
How does an execution block start and end in pl sql?
Is the primary key an index?
Can we write dml inside a function in sql server?
State few characteristics of pl/sql?
Can we rollback truncate?
What is sharding in sql?
Why is sql*loader direct path so fast?
How do I quit sql?