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 / obed

You donot use '>4' for comparing
you must use '<=4'
if u used >4 its will not return any row because there in
no row is select >

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When do you get a .pll extension in oracle? Explain its importance

574


Difference between open_form and call_form in oracle.

681


What do you understand by a database object?

588


What is a database table in oracle?

572


Explain a synonym?

606






How to create lov dynamically at runtime & attach to text field?

664


How to install oracle odbc drivers?

623


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

1833


Why oracle is used?

580


How to drop an existing view in oracle?

571


Is it possible to split the print reviewer into more than one region ?

1837


How to retrieve data from an explicit cursor?

559


How to convert dates to characters in oracle?

584


How to delete a user account in oracle?

551


How do you tell what your machine name is and what is its IP address?

1516