Calculate rate between date

eugz

Registered User.
Local time
Today, 16:16
Joined
Aug 31, 2004
Messages
128
Hi All.
In my employee's table I have EmployeeName, Rate, Date and I need create query to calculate Rate for each eployee between Date if ration during this period of time was diferent.
Thanks.
 
Last edited:
Code:
select avg(rate), emplyeename from table group by employeename having date between startdate and enddate
 

Users who are viewing this thread

Back
Top Bottom