5. Display full details for the creditor/s who has received
the single largest payment. Do not use a table join or set
operator anywhere in your query.

Answers were Sorted based on User's Feedback



5. Display full details for the creditor/s who has received the single largest payment. Do not use ..

Answer / er mahesh shiv gaur

SELECT MAX(SALARY) FROM (SELECT FIRST_NAME,SALARY,FROM EMP
ORDER BY SALARY DESC) WHERE ROWNUM<=1 GROUP BY
FIRST_NAME,SALARY;

Is This Answer Correct ?    3 Yes 0 No

5. Display full details for the creditor/s who has received the single largest payment. Do not use ..

Answer / srikanth

select *from <TN>
where sal=(select max(sal) from <TN>);

Is This Answer Correct ?    1 Yes 0 No

5. Display full details for the creditor/s who has received the single largest payment. Do not use ..

Answer / devraj

Select * From cust_data Where trxn_type = 'CR' And sal =
(Select max(sal) From cust_data) And Rownum = 1;

Is This Answer Correct ?    2 Yes 2 No

5. Display full details for the creditor/s who has received the single largest payment. Do not use ..

Answer / ajit

select *
from ( select sal from emp order by sal desc)
where rownum <= 1

Is This Answer Correct ?    0 Yes 0 No

5. Display full details for the creditor/s who has received the single largest payment. Do not use ..

Answer / rajeev kumar

select max(salary) from <TN> where salary not in(select max
(salary) from <TN>)

salary->field name

Is This Answer Correct ?    3 Yes 5 No

5. Display full details for the creditor/s who has received the single largest payment. Do not use ..

Answer / aswini

select * from <table_name> where salary in(select max
(salary) from <table_name>);

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Oracle General Interview Questions

waht is the difference between primary key and super key?

9 Answers  


Difference between sub query and nested query ?

19 Answers   Keane India Ltd, TCS,


What is the scope of a local variable?

0 Answers  


What is blob datatype?

0 Answers  


What is the difference between formal parameters and actual parameters?

0 Answers  






How can I create database in oracle?

0 Answers  


Is java required for oracle client?

0 Answers  


How to check database size in Oracle?

0 Answers   MCN Solutions,


What is the difference between post-database commit and post-form commit?

0 Answers  


How to use "for" statements in oracle?

0 Answers  


How do you get nicely formatted results from an oracle procedure that returns a reference cursor?

0 Answers  


How to Identify the previously inserted/updated records in already populated table.

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)