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 happens if variable names collide with table/column names?
Why we use bulk collect in oracle?
What is a database table in oracle?
Can we write insert statement in function in oracle?
does the query needs a hint to access a materialized view?
Explain overloading. Can functions be overloaded?
What is the simplest tool to run commands on oracle servers?
Why does Oracle not permit the use of PCTUSED with indexes?
i wrote a pl/sql procedure. it must run every sunday 4.40 How can i schedule it with the help of dbms_jobs (or another other procedure with out creating bat file,exe file)
What are the built-in functions used for sending Parameters to forms ?
Will you be able to store pictures in the database?explain.
What is SQL access advisor in Oracle?
What is the difference between pre-select and pre-query?
How to work with data objects interactively?
How to set a transaction to be read only in oracle?