Select the Nth lowest value from a table?

Answer Posted / venkat

select * from emp minus select * from emp where rownum <= (select count(*) - &n from emp);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Her departmandaki isçilerden empno' su ikinci sirada olan isçilerin empno, deptno, hiredate, sira_no bigilerini döndüren sorguyu yaziniz?

1561


what is the use of system.effective.date variable in oracle?

666


How to use values from other tables in update statements using oracle?

562


How many file formats are supported to export data?

651


How to do a full database export?

629






How to use fetch statement in a loop?

547


How to drop a stored function?

670


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.

2879


How to connect to oracle using service name instead of sid?

547


What is merge in oracle?

553


What is the relation of a user account and a schema?

605


what are steps for interface? where is exchange rate defined in which table?

1488


How many types of segments in Oracle?

525


Explain what are the uses of rollback segment?

576


How to create a new table in your schema?

601