Hi,
I have a query that summarizes data across 3 tables (Store, Sales and Payroll), Payroll and Sales are related by date; Store and Sales have store_id in common. My query groups records by a given date range and attempts to calculate the sum of the TotalSales from the Sales table and the sum...