J
J.J.
A previous contributor and I were both led astray earlier so I will modify my
question to make it easily understood. The structure of the statement has
been causing the problem. I have a table with employeeID's and workDates and
hoursWorked. Along with other data the table looks like:
employeeID workDate hoursWorked
_________________________________
001 12/28/2008 8
001 01/02/2009 8
003 01/02/2009 8
001 01/03/2009 4
002 01/03/2009 6
001 02/03/2009 10 etc.
What I would like to do is to sum the hours worked in the previous month for
each employee in a query that returns one value per employeeID. Thank you
for your kind assistance.
question to make it easily understood. The structure of the statement has
been causing the problem. I have a table with employeeID's and workDates and
hoursWorked. Along with other data the table looks like:
employeeID workDate hoursWorked
_________________________________
001 12/28/2008 8
001 01/02/2009 8
003 01/02/2009 8
001 01/03/2009 4
002 01/03/2009 6
001 02/03/2009 10 etc.
What I would like to do is to sum the hours worked in the previous month for
each employee in a query that returns one value per employeeID. Thank you
for your kind assistance.