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 find from a source which has 10,000 records, find the
average between 500th to 600th record?

Answer Posted / guest

In the sql override, add a column for rownum which
generates the sequence numbers. Pass them into a filter
transformation to filter the records between 500 and 600.
And do the required aggregation through Aggregator
Transformation.

Through SQL :

select avg(sal) from (select id,name,sal,rownum r from
table_name )
where r between 500 and 600;

Hope this works..... if not please let me know

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why union transformation is an active transformation?

1053


Separate from an archive server and a powerhouse?

970


What does reusable transformation mean?

1145


How we can use union transformation?

1068


What are mapplets?

1284


Explain scd type 3 through mapping.

1025


What is substr in informatica?

1219


Global and Local shortcuts. Advantages.

2044


What are some examples of informatica etl programs?

953


Under what conditions selecting sorted input in aggregator will still not boost session performance?

1089


What is aggregator transformation in informatica?

961


what is informatica metadata?

1050


What is an active transformation?

1119


What is the use of code page?

1103


Can informatica load heterogeneous targets from heterogeneous sources?

1193