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

Which Database is the best for the Security issue ? 1. DB2 2.SQL Server 3.MySQL 4.ORACLE

1 Answers  


How do I spool to a csv formatted file using sqlplus?

0 Answers  


How to execute a stored program unit?

0 Answers  


Can anyone give me information about oracle certification

1 Answers  


i have procedure p1.and also i declare the same procedure in a package. whice one is efficient package procedure or procedure?

2 Answers   Microsoft,






"primary key=unique+null" is equal,reson?not,reason?

5 Answers  


How to get a list of all tables in the database?

1 Answers  


What are the advantages of oracle 12c?

0 Answers  


how to use sequence and what use of sequence cache

1 Answers  


1.display list of all users from ur data base.what is the query?

3 Answers   CGI, IBM,


How to open and close an explicit cursor in oracle?

0 Answers  


How to create a new table by selecting rows from another 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)