how to get second highest salary in SQL(as/4000
Answer Posted / chandu
select max(sal) from new where sal not in(select max(sal)
from new);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What steps server process has to take to execute an update statement?
Can we join two tables without common column?
What is the difference between in and between in sql?
Are sql database names case sensitive?
Can one improve the performance of sql*loader? : aql loader
what are date and time data types in mysql? : Sql dba
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
what is heap table? : Sql dba
How to change the order of columns in Oracle SQL Plus ?
How to add new employee details in an employee_details table with the following details
What are different clauses used in sql?
How many sql statements are used? Define them.
Explain unique key in sql.
What does count (*) mean in sql?
What is record data type?