how to get second highest salary in SQL(as/4000
Answer Posted / premchand
select max(sal) from employ where sal < select max(sal)
from employ
| Is This Answer Correct ? | 34 Yes | 12 No |
Post New Answer View All Answers
What is trigger types of trigger?
what are the differences among rownum, rank and dense_rank? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
what is primary key? : Sql dba
What is the non-clustered index in sql?
how do you know if your mysql server is alive? : Sql dba
give the syntax of grant and revoke commands? : Sql dba
What is faster join or subquery?
Is sqlexception checked or unchecked?
How does postgresql compare to mysql?
Why we use sql profiler?
What are the different sql languages?
How do you identify a primary key?
What is materialized view. What are different methods of refresh?
How to return an array from java to pl/sql?