how to calcuate the second highest salary of he employee
Answer Posted / udhayakumar
select salary from (select salary from emp order by salary
desc) where rownum=2;
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How do I trace sql profiler?
What is the order of sql select?
How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?
Define commit, rollback and savepoint?
State few characteristics of pl/sql?
Is postgresql a server?
how to convert character strings to dates? : Sql dba
What is $$ in sql?
explain advantages of innodb over myisam. : Sql dba
explain primary keys and auto increment fields in mysql : sql dba
What is dba in sql? : SQL DBA
What is pl sql record in oracle?
what is msql? : Sql dba
How to run sql functions in pl/sql?
What is the usage of distinct keyword?