write a query to find the third maximum salary of a
employee.(table:employ col name:salary)
Answer Posted / shrikant
SELECT MIN(sal) FROM emp WHERE
sal IN (SELECT distinct TOP 3 sal FROM emp ORDER BY sal
DESC)
select max(sal) from emp where sal<(select max(sal) from emp
where sal<( select max(sal) from emp));
select * from emp e
where 3 = (select count(sal) from emp
where e.sal < sal);
Select * from EMP_USER A where n-1 = (select count
(distinct (sal)) from EMP_USER B where A.sal<B.sal)
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is the disk migration? what is the steps involved in oracle disk migration?
Explain accounting for invoice in advance and arrears. : oracle accounts receivable
What is chargeback invoice? How do we create it? : oracle accounts receivable
can u pls share responsibilities for production how to environment in odi?and how to generate report ?
HOW TO GET THE ORGANIZATION TO ORGANIZATION DETAILS INFORMATION IN THE INVENTORY MODULE.THE REQUIREMENT IS FROMORG TOORG FROMINV TOINV ..
please send me oracle pl/sql exp resume. and also faqs...
Difference between transaction type and transaction sources. : oracle accounts receivable
My requirement is like in database some defects are present and i need to clean them.To be brief for example every employee should have active assigments.So for those records which are not having status as active or null ,i need to update the roecords using API with the correct value. Client will provide a flat file for the records whch are defected.So i need to run the API for those records (flat file)and update the data in database. So my question is how to handle this requirement.Is there any existing API for this purpose?If yes then please send me the NAME. How to update the records in the database using flatfile. Any pointer will be appreciated.Thanks in advance.
what are basic modules required to implement oracle application in any oraganisation?
What is the difference between oracle media recovery and crash recovery?
What are the advantages of operating a database in ARCHIVELOG mode over operating it in NO ARCHIVELOG mode in Oracle?
Explain how to account for bank charges deducted from amount received against an invoice. : oracle accounts receivable
PURCHASE ORDER TO PAYABLES WHAT ENTREIS WILL HAVE
I would like to study certification course in Data base adminidtrator then where would i go to study this course?
Can you explain how to adjust the amount of advance already received against an invoice? : oracle accounts receivable