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 initialize variables with default values?

648


How do you find current date and time in oracle?

598


how can db_files > maxdatafiles since db_files is for instance and the later is for database

2183


How to get a list of all user accounts in the database?

630


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.

1658






Explain the use of inctype option in exp command.

604


How to rename an index?

595


What is the difference between hot backup and cold backup in oracle? Tell about their benefits also.

553


Can I create users through internet explorer in oracle 10g?

584


What are the limitations oracle database 10g xe?

583


Use of an integrity constraint is better to validate data. Explain

555


How would you go about verifying the network name that the local_listener is currently using?

1611


How do I limit the number of oracle database connections generated by weblogic server?

556


What is a system tablespace and when it is created?

569


How to revoke create session privilege from a user in oracle?

568