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

What do you understand by a term domain?

1110


what are factless facts? And in which scenario will you use such kinds of fact tables.

1790


What is the need of an ETL tool?

1072


Explain your project of banking domian.

1640


where to store informatica rejected data?

1080


One of the optimizing technique to improve the session performance is push down optimization,by using push down optimization we push as much as transformation logic to source/target database,but this degrades the d/b performance,how to overcome this?

2250


What is event and what are the tasks related to it?

1102


What are session parameters ? How do you set them?

1828


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

1106


Why do we need informatica?

973


What is meant by active and passive transformation?

1111


What is decode in static cache?

1154


What are the various test procedures used to check whether the data is loaded in the backend, performance of the mapping, and quality of the data loaded in informatica?

1055


what is degenerated dimension?

3965


Some flat files are there, out of these having some duplicate. How do you eliminate duplicate files while loading into targets?

1774