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

Hi, In source I have records like this No name address 10 manoj mum 10 manoj dilhi 20 kumar usa 20 kumar Tokyo I want records in target like shown below No name addr1 addr2 10 manoj mum dilhi 20 kumar usa Tokyo If it is reverse we can do this by using Normalizer transformation by setting occurance as 2. Somebody will say use denoralization technique. But as of my knowledge I couldn’t find any denormalization technique. Is there any concept like that? I tryid this seriously but I could find any idea to implement this. Can any one please help me ? Advance Thanks

6340


What is Cognos script editor?

3778


Differentiate between Load Manager and DTM?

1653


What is domain in terms of informatica?

555


What is the session task and command task?

587






What is target load order?

795


How to partition the Session?

636


What is an Integration service in Informatica?

694


How you prepared reports for OLAP?

1140


can we override a native sql query within informatica? Where do we do it?

617


Differences between connected and unconnected lookup?

599


Hello, Can you please send the admin and advanced mapping design sample questions to ns_sharmin@yahoo.com?

1844


is it possible to index the data in cache of lkp transformation ?

1513


Define sessions in informatica etl?

609


Briefly define a session task?

582