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

various types of hints and their usage

0 Answers  


If any one has information regarding interview of NIC (National Informatics Centre),it would be of great help...

0 Answers   NIC,


What is mean by Program Global Area (PGA) ?

9 Answers   Bajaj,


 What are the oracle DML commands possible through an update strategy?

0 Answers   Informatica,


What are the common oracle dba tasks?

0 Answers  






How do I uninstall oracle 11g?

0 Answers  


How to define an anonymous procedure without variables?

0 Answers  


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

0 Answers  


Give the different types of rollback segments.

0 Answers  


What are main difference between Stored Procedure and Functions.

6 Answers   CA, Metric Stream,


6. Display the client name and order date for all orders using the traditional method.

0 Answers   Wipro,


What are temporal data types in oracle?

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)