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 is workflow monitor?

1044


Explain what transformation and how many are there in informatica?

924


What is fact table? Explain the different kinds of facts.

1063


What is the difference between a connected look up and unconnected lookup?

953


what is the size of your data warehousing?

2082


what is the complex transformation you used in informatica

2579


Enlist some properties of sessions.

1055


How might one distinguish in the case of mapping is right or not without associating session?

1083


Design a mapping to get the pervious row salary for the current row. If there is no pervious row exists for the current row, then the pervious row salary should be displayed as null.

1275


how many types of dimensions are available in informatica?

1070


What is exclusive and normal mode for repository services?

1125


What is rank index in rank transformation?

1057


What is workflow? What are the components of the workflow manager?

1107


Slowly changing dimensions, types and where will you use them

1690


Hi all, Can you please send me the Dimensions and fact tables which are used in mutual fund project. and please send me the brief summary about the project. Please do the needful.

2294