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

How to convert raw data type into text in oracle? Explain

993


What are the varoius components of physical database structure of oracle database?

1006


how to make an oracle object

2359


How many types of database triggers exist?

1135


How to lock and unlock a user account in oracle?

1106


How can you use check constraints for self referential integrity?

971


Give the different types of rollback segments.

1031


How do I manually create a database in oracle?

1019


How to establish administrator authentication to the server?

1043


How to create an oracle database?

1042


What is tns name?

981


What do you understand by database schema and what does it hold?

1230


How to get a list of all user accounts in the database?

1088


Explain mutating triggers.

1031


Why do we need integrity constraints in a database?

1022