-- Total Unique Cart Products
-- Total Unique products in deal_cartitem
-- FILTER: {
--   filter: "date",
--   column: "Send_Date",
--   params: {
--     "format": "m/d/y"
--   }
-- }
-- FILTER: {
--   filter: "class",
--   column: "products",
--   params: {
--     class: "text-right"
--   }
-- }

SELECT
    to_char(count( dc.product_id), '999,999,999,999') as products
FROM simplebrsprod.deal_cartitem dc
GROUP BY dc.product_id;

