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
In pl/sql, what is bulk binding, and when/how would it help performance?
What is character functions?
What is sequence in sql?
Which is the correct statement about truncate and delete?
What is difference between hql and native sql?
what is cursor. write example of it. What are the attributes of cursor.
how to include numeric values in sql statements? : Sql dba
what are date and time functions in mysql? : Sql dba
what are null values? : Sql dba
What are the possible values for the boolean data field?
Is pl sql and postgresql same?
What is the difference between jpql and sql?
What is the difference between sql and t sql?
What is the function that is used to transfer a pl/sql table log to a database table?
What are the parameter modes supported by pl/sql?