SELECT * FROM
(SELECT TITLE FROM MOVIE ORDER BY RANK DESC)
WHERE ROWNUM > 4;

when i run the above query .it produces output as NO ROWS
SELECTED.why ?plz any one help me

Answer Posted / mohan

select * from movie where rownum>4(select title from movie
rank()over(order by title desc);

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to add another datafile to a tablespace?

578


Explain what are the characteristics of data files?

633


What is a cursor variable?

581


What privilege is needed for a user to create tables in oracle?

552


What is the use of aggregate functions in oracle?

585






What is analyze command used for?

582


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.

2890


How to execute a stored program unit?

585


How to add a new column to an existing table with a default value?

550


Explain about the analyze command in oracle?

593


How to do paging with oracle?

577


How to run the anonymous block again?

601


What are set operators?

652


Does oracle database need java?

530


What are the logical operations?

679