Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how to Create a stored procedure to find the following output.

[Q1 = Jan + Feb + Mar ] [Q3 = July + Aug + Sept]

2011/Q1 2011/Q3
Last Year This Year Last Year This Year
Emp1 Salary
Emp2 Salary
... … … … …
Emp n Salary
Total ∑ ∑ ∑ ∑

I need to calculate the Salary of employee i.e [Q1 = Jan + Feb + Mar ] and [Q3 = July + Aug + Sept] of 2011

Thanks
Posted
Updated 2-Apr-12 20:16pm
v2
Comments
P.Salini 3-Apr-12 2:07am    
clarify your question.
sravani.v 3-Apr-12 2:08am    
Not clear.Improve your question.

1 solution

Describe your question properly.Its not clear exactly what u need to ask
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900