a query to select maxmun 3 salaries of employee table
Answer Posted / krishna kumar r
SELECT E1.ENAME,E1.SAL FROM EMP E1 WHERE 3>(SELECT COUNT(*)
FROM EMP E2 WHERE E2.SAL>E1.SAL ) ORDER BY SAL DESC
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is PL/SQL ?
What is the data pump export utility?
Does oracle charge for java?
How to import one table back from a dump file?
How to create an oracle database?
How to get a create statement for an existing table?
what is Single Byte Overhead...?
What privilege is needed for a user to delete rows from tables in another schema?
How do I use os authentication with weblogic jdriver for oracle and connection pools?
Can we convert a date to char in oracle and if so, what would be the syntax?
What is a schema in oracle?
How to assign a tablespace to a users in oracle?
How to find the duplicate rows count from employees table in oracle?
How to resolve the ORA-39133 error in Oracle?
I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.