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
Difference between pre-select and pre-query
Explain oracle 12c new features for developers?
What is MTTR advisor in Oracle?
How to generate query output in html format?
How to grant create session privilege to a user in oracle?
What is system tablespace?
How to shutdown your 10g xe server from command line?
What is an Oracle Instance?
How to specify default values in insert statement using oracle?
How remove data files before opening a database?
How to turn on or off recycle bin for the instance?
How to start a new transaction in oracle?
Describe the types of sub query?
When do you get a .pll extension in oracle?
 What are the oracle DML commands possible through an update strategy?