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
Can you load data into multiple tables at once? : aql loader
Can I create table without primary key?
Can a table contain multiple primary key’s?
Can delete statement be rollbacked?
Does view store data in sql?
What makes a good primary key?
Can we join more than 2 tables in sql?
What is a table in a database?
Is mariadb nosql?
How does left join work in sql?
Which command is used to delete a package?
What does pragma mean?
How to rename a table?
What is the use of sql trace?
how to enter numeric values as hex numbers? : Sql dba