Services By SKU SELECT sku, sum(price) as total_amt from %%AGILE_DB_PREFIX%%service A A.site_id = %%DEFAULT_SITE%% and A.active=1 GROUP BY sku ORDER BY total_amt DESC All SKU's SELECT sku, count(id) as total, sum(price) as total_amt from %%AGILE_DB_PREFIX%%service A A.site_id = %%DEFAULT_SITE%% and A.active=1 GROUP BY sku ORDER BY total_amt DESC 0 SKU sku true Total total true num Sales Amount total_amt true dol,2 dol,2