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

whom do you report?

1983


Differentiate between hash file and sequential file?

1121


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

2098


Define meta stage?

1257


What are some different alternative commands associated with "dsjob"?

1208


What are routines in datastage?

1378


What is a merge?

1236


What are the various kinds of containers available in datastage?

1100


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2547


What is ibm datastage flow designer?

1201


What is usage analysis in datastage?

1359


what is stage is used for below Input columns: dept|mgr|employee|salary Output columns: mgr|count of employee per mgr|avg salary per dept note: each dept has one mgr and each mgr has many employees

1128


How will you move hashed file from one location to another location?

2213


What are the stages in datastage?

1135


How to Remove Duplicate using SQL?

1420