how to get second highest salary in SQL(as/4000
Answer Posted / dharmendra
select max(salary) from table
where salary < (select max(salary) from table);
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How can I change database name in sql?
Why do we use set serveroutput on?
How to move files from one directory to another in pl sql?
Is sql pronounced sequel or sql?
Why left join is used in sql?
What type of database is sql?
What is application trigger?
what are all the different normalizations? : Sql dba
What is execute immediate?
Why use subqueries instead of joins?
what are the differences among rownum, rank and dense_rank? : Sql dba
can a stored procedure call itself or recursive stored procedure? : Sql dba
what is a constraint? Tell me about its various levels. : Sql dba
What is embedded sql with example?
How to connect a sql*plus session to an oracle server?