Write a query to find second highest salary of an employee.
Answer Posted / vamana murthy
select ename,salary from emp
where rownum=2
order by salary desc
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
What is on delete set null?
what is the difference between myisam static and myisam dynamic? : Sql dba
What is the difference between inner join and left join?
How do you delete duplicates in sql query using rowid?
How can you view the errors encountered in a trigger?
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?
Is pl sql a programming language?
Is ms sql is free?
Are null values same as that of zero or a blank space?
What is right join sql?
How many types of indexes are there in sql?
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
How to get each name only once from an employee table?
Is delete faster than truncate?
What is the most restrictive isolation level? : Transact sql