how to find the second highest salary from emp table?
Answer Posted / shivdas suryawanshi
select salary from emp where salary=(select max(salary)
from emp where salary < (selct max(salary) from emp));
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How to prepare for oracle pl sql certification?
what is a field in a database ? : Sql dba
What is the maximum number of columns in sql table?
What is audit logout in sql profiler?
What is primary key and unique key?
What are the advantages of normalization?
What is sequence in sql?
how to create a table index in mysql? : Sql dba
How many sql databases can you have on one server?
What are aggregate and scalar functions?
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?
What is the need of a partition key?
Is mariadb a nosql database?
what are the differences between require and include, include_once and require_once? : Sql dba
What is the purpose of primary key?