I have a report that shows products that customers have ordered, along with their prices:
CompanyA Product 7 14.99 CompanyA Product 3 45.95 Com
SELECT company, product, SUM(price) FROM companyMaster GROUP BY company, ROLLUP(product)