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

How to convert numbers to characters in oracle?

594


How different is ms access and oracle?

562


How to add another datafile to a tablespace?

587


How to write a left outer join with the where clause in oracle?

645


When system tablespace is created?

614






How to get the Installed Oracle Version Information ?

633


What is a nested table and how is it different from a normal table?

589


Typically, where is the conventional directory structure chosen for Oracle binaries to reside?

1592


What is oracle datasource?

567


Explain oracle data types with examples?

587


How can we find out the duplicate values in an oracle table?

621


What do you know about normalization? Explain in detail?

506


How to loop through a cursor variable?

579


How do we create privileges in oracle?

596


what is the difference between functional dependecy and multilevel dependency?

2002