find out the second highest salary?
Answer Posted / sujeet sinha
SELECT DISTINCT (a.sal) FROM EMP A WHERE 2 = (SELECT COUNT
(DISTINCT (b.sal)) FROM EMP B WHERE a.sal<=b.sal);
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What's dateware house and what's clustor with practicle example
How to assign data of the deleted row to variables?
What are the different pseudo commands? Explain in general?
What are the different types of record groups in oracle? Explain each of them
Give the different types of rollback segments.
What is a trigger and what are its types in oracle?
Why do we need oracle client?
How to define a data source name (dsn) in odbc manager?
What are the roles of dba?
What is enter substitution variable in oracle?
How to generate query output in html format?
List out the components of logical database structure of oracle database.
can u send the sql dumps to sivakumarr1987@gmail.com plz help me
Why do I get java.lang.abstractmethoderror when trying to load a blob in the db?
How to drop a tablespace?