how to calcuate the second highest salary of he employee
Answer Posted / vinayak jamdar
Select top 1 empid,salary from (select distinct top 2
empid,salary from emp order by salary desc)a order by salary
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why do we use sqlite?
how to create a new view in mysql? : Sql dba
List the various privileges that a user can grant to another user?
What is data manipulation language?
what are the differences among rownum, rank and dense_rank? : Sql dba
What is consistency?
What is restrict in sql?
What is date functions?
How do I add a primary key to a table?
What are commit, rollback, and savepoint?
write an sql query to find names of employee start with 'a'? : Sql dba
How many sql statements are used?
Explain what is sql?
Cite the differences between execution of triggers and stored procedures?
How can you load microsoft excel data into oracle? : aql loader