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...

How to display last 5 records in a table ?
With out Top key word and doing order by desc

Advance thanks

Answer Posted / madhu


this is can acheieve by following query

select * from(select rowunum r,e.*from emp e) where
r>(select count(*)-5 from emp);

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the guidelines to be followed while using union transformation?

1207


How to delete duplicate row using informatica?

1089


How to join three sources using joiner?

1194


What is parallel processing in informatica?

1790


How an expression transformation differs from aggregator transformation?

1088


What are the different clients of powercenter?

1114


How to Create a folder using pmrep command?

1222


What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?

1229


What are the types of schemas we have in data warehouse.

1004


How to load the data from people soft hrm to people soft erm using informatica?

1067


How to open an older version of an object in the workspace?

1264


What is olap (on-line analytical processing?

1109


What is a stored procedure transformation?

1113


What is a shortcut and copy in Informatica and how two are different with each other?

1240


If I have 10 flat files with same name abc.txt files with different timestamps as source I need to load them in tgt table oracle. in between job execution fails and rows are not loaded into tgt. how can I make them load in that target even if my job fails?

1530