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 do I uninstall oracle 11g?

553


Where do you use decode and case statements?

546


How many categories of data types?

570


Explain the use of online redo log files in oracle.

575


How to connect to a local oracle 10g xe server?

528






When do I need to use a semicolon vs a slash in oracle sql?

585


How to use group functions in the select clause using oracle?

587


What privilege is needed for a user to delete rows from tables in another schema?

562


How to login to the server without an instance?

616


What are the components of logical database structure in oracle database?

572


what is the difference between restoring and recovering?

548


Using the relations and the rules set out in the notes under each relation, write statements to create the two sequence generators specified in the notes.

1642


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


State the various uses of dbcc command?

544


What are the different types of partitions in oracle?

494