J
Jeffshex
Not sure if this should be a union, but I have two tables.
Table A has DateOfEntry and Staff
Table B has Wage
I'm trying to get a grouped query where it will do grouping by staff but yet
count the staff and average the wage both for a specified month and YTD. For
example:
Staff MonthlyPlacements MonthlyAvgWage YTDPlacements YTDWage
================================================
John 5 $7.00 10
$8.34
etc...
i don't mind hard coding the date ranges in the query, but I'm not sure how
to piece it together.
Any ideas...?
Table A has DateOfEntry and Staff
Table B has Wage
I'm trying to get a grouped query where it will do grouping by staff but yet
count the staff and average the wage both for a specified month and YTD. For
example:
Staff MonthlyPlacements MonthlyAvgWage YTDPlacements YTDWage
================================================
John 5 $7.00 10
$8.34
etc...
i don't mind hard coding the date ranges in the query, but I'm not sure how
to piece it together.
Any ideas...?