find out the second highest salary?
Answer Posted / v.karthikeyan
select * from emp
where &n-1=(select count(distinct(sal)) from emp b
where emp.sal<b.sal)
Is This Answer Correct ? | 62 Yes | 30 No |
Post New Answer View All Answers
What is a nvl function?
what is the scenario where you take the database to NoArchivelog mode?
What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.
how can we store any pdf file in oracle
What is oracle data type?
What types of joins are used in writing subqueries?
How many categories of data types in oracle?
What is data file?
How to connect to a remote server?
Explain user account with reference to oracle.
What are ddl statements in oracle?
Calculate difference between 2 date / times in oracle sql?
How to join two tables in a single query using oracle?
does the query needs a hint to access a materialized view?
What are the roles of dba?