Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Average calculation in a stored procedure...

Status
Not open for further replies.

Deam

Programmer
Oct 10, 2000
68
US
Hi,
I have to Calculate the average monthly salary and the Bonuses over the prior 3 months. Table1 has the Annual Salaries of Emps and is historical and Table2 has the Bonuses of the Emps and is NOT historical as an emp can have more that one bonus records.
What is the best way to do this ?
Any help will be greatly appreciated.

Thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top