Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is oracle an open source?

1019


How to do paging with oracle?

948


How to connect to a local oracle 10g xe server?

934


How to execute a stored procedure in oracle?

1027


Why does Oracle not permit the use of PCTUSED with indexes?

2364


How do I connect to oracle?

974


How to create an oracle database manually?

1017


Explain the importance of .pll extension in oracle?

952


What is ASM (Automatic Storage Management) in Oracle?

1121


How to drop a stored procedure in oracle?

995


How to start instance with a minimal initialization parameter file?

989


How to load data from external tables to regular tables?

983


How to delete multiple rows from a table in oracle?

1002


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

2297


What is an Oracle Instance?

1067