how to find the second highest salary from emp table?
Answer Posted / sumit sharma
select sal from (select distinct(sal) from emp where sal is
NOT NULL order by sal dsc) where rownum = 2
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is function and procedure in pl sql?
Explain the difference in execution of triggers and stored procedures?
What is procedure explain with program?
Can we have two clustered index on a table?
What is a parameter query?
What is parallel hint?
How do you use join?
What is the basic form of sql query?
what is sub-query? : Transact sql
Why primary key is required?
How do I view an execution plan in sql?
What is using in sql?
What is the use of double ampersand (&&) in sql queries? Give an example
Explain scalar functions in sql?
what is log shipping? : Sql dba