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 table like
empid ename year month sal
1 x 98 jan 500
1 x 98 feb 500
1 x 98 mar 500
1 x 99 jan 600
1 x 99 feb 600
2 y 98 jan 600
2 y 98 feb 600
2 y 98 mar 600
2 y 99 jan 700
2 y 99 jan 700
and so on
i want to find out totsal for every emp on year wise
plz help me

Answer Posted / xyz

select empid, year, sum(sal) as Totalsalary
From employees
group by empid, year;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain direct and indirect flat file loading (source file type) - informatica

1261


Why sorter is an active transformation?

1130


What is Session and Batches?

1039


What is decode in static cache?

1077


What is status code in informatica?

959


What does command task mean?

1062


Explain sessions and how many types of sessions are there?

954


In what scenario we use to improve session performance by pushdown optimization?can any one give example?

6038


What is an aggregator transformation?

1029


can any one explain about dataflow in the informatica project for bank domain....thanks is advance

10629


in reporting we add some new objects,how we get the count of the newly added objects to the report

2129


Hi friends I want to know about what r the dimensions in the banking porjects and genarally how many tables r in project ?

1840


What are junk dimensions?

1019


What is a repository? And how to add it in an informatica client?

1082


What is a router transformation?

1046