Write a query to find second highest salary of an employee.
Answer Posted / kitcat
SELECT salary
FROM (SELECT salary FROM emp
ORDER BY DESC salary)
WHERE RowNum=2
| Is This Answer Correct ? | 1 Yes | 11 No |
Post New Answer View All Answers
What is cross join sql?
Explain the significance of the & and && operators in pl sql.
What is the advantage of nosql?
What is the difference among union, minus and intersect?
Write a sql select query that only returns each name only once from a table?
Explain lock escalation? : Transact sql
What are the constraints available in sql?
what is the difference difference between procedure and packages
How to order siblings in oracle hierarchy queries?
Why use stored procedures?
Explain the methods used to protect source code of pl/sql.
What are different sql data types?
What is the use of stored procedures?
how to show all tables with 'mysql'? : Sql dba
How to display Row Number with Records in Oracle SQL Plus?