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
How to create a testing table in oracle?
Why packages are used in oracle?
How to download oracle database 10g xe?
How to use subqueries with the exists operator in oracle?
What is partitioned table in Oracle?
Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?
State all possible different index configurations a table can possibly have?
How to select an oracle system id (sid)?
How do I decide when to use right joins/left joins or inner joins or how to determine which table is on which side?
What are the different editions of oracle?
How to run queries on external tables?
interview questions with answer for cts
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
What is dual table oracle?
What is recovery manager(rman) backup in Oracle?