This query
SELECT DISTINCTROW [companyGraphData].[Dept], Sum([companyGraphData].[TotalRep]) AS [Sum Of Rep], Sum([companyGraphData].[TruckCount]) AS Trucks
FROM companyGraphData
GROUP BY [companyGraphData].[Dept];
gives me this table
Dept Sum of Rep Trucks
data data data
How could I modify it to include an additional column that would be sum of Rep divided by trucks to get an average per truck.
Thanks
PB
SELECT DISTINCTROW [companyGraphData].[Dept], Sum([companyGraphData].[TotalRep]) AS [Sum Of Rep], Sum([companyGraphData].[TruckCount]) AS Trucks
FROM companyGraphData
GROUP BY [companyGraphData].[Dept];
gives me this table
Dept Sum of Rep Trucks
data data data
How could I modify it to include an additional column that would be sum of Rep divided by trucks to get an average per truck.
Thanks
PB