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...

i have a scenario in which i/p columns areID,salary with
1,1000 2,2000 and 3,3000 i need an extra column in the o/p
named avg(salary)how can i get it?

Answer Posted / sid

source->aggregate(with group key-ID,Avg(salary))-->Target

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functionalities of link partitioner and link collector?

1009


If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?

2046


What are the main differences you have observed between 7.x and 8.x version of datastage?

1089


what are the errors,warnings in datastage

2700


How do u convert the columns to rows in datastage?

1194


What is the difference between Datastage 7.5 and 7.0?

1097


Hi everyone,I have kept a project Sales And Distribution for a pharmaceutical company.can anybody explain one complex business rule that we had in our project and how did you accomplish it using DS?

2230


What are transforms and what is the differenece between routines and transforms?

1066


How to read multiple files using a single datastage job if files have the same metadata?

1252


Lookup constraints

1258


What is difference between join, merge and lookup stage?

1099


What is the Environment Variable need to Set to TRIM in Project Level?(In transfermer, we TRIM function but I need to impliment this project level using Environment variable)

2385


Define oconv () and iconv () functions in datastage?

1416


What are the different kinds of views available in a datastage director?

1030


How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

2447