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 does cheating measurement mean?

992


Hi, I want to change date type char value integer value? I tried alter table tab_name modify (newcolumn newdatetype). But The columns have 10 million values(char type) so I want to load now numeric data. How it is possible? Old Values New Value(I want to load numeric data but the old value should be there in the column) Y 1 N 0 ERROR at line 1: ORA-01439: column to be modified must be empty to change datatype Please help on this. Thanks, GM

4059


what is INFORMATICA TESTING process

2221


Under what condition selecting sorted input in aggregator may fail the session?

1054


what is index?how it can work in informatica

1978


What does refresh system mean, and what are its distinctive choice?

1065


I am not able to connect to the domain with the client although all services and databases are up and there is no network issue?

997


explain abt ur project architecture?

2118


Different circumstance which drives informatica server to expel records?

913


Differentiate between sessions and batches?

960


What happens when a session fails and you click on recover?

1054


Partition, what happens if the specified key range is shorter and longer

2428


Define pmcmd command?

987


How are the sources and targets definitions imported in informatica designer?

1047


How to implement security measures using repository manager?

1076