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 / rachita
This is because you cannot use > operator with Top-N
Analysis.The operator which is used is only < less-then and
<= less-then-equal-to .You can also use = operator but only
for retrieving the top most value .
Is This Answer Correct ? | 13 Yes | 1 No |
Post New Answer View All Answers
How to convert character types to numeric types?
What is null value in oracle?
Oracle
what is the need of indexing topic in oracle? where do we use in a Java project? any other option other than using this to get the same result where we use indexing ?
Is it possible to split the print reviewer into more than one region ?
What is a cursor in oracle?
What is Java Pool in Oracle?
A table t is there.If you perform insert ,update and delete then the trigger will fire.What is the minimum no of trigger required for a table.
What is the usage of merge statement?
If youre unsure in which script a sys or system-owned object is created, but you know its in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?
What is a data dictionary and how can it be created?
What is the disadvantage of User defind function?
Explain index?
How can you merge two tables in oracle?
What is the implicit cursor in oracle?