easy5 pts · first answer countswindow-functionssql
Each product's share of sales
You want each product's percentage of total sales, keeping one row per product. Which expression works?
SELECT product, sales, ??? AS pct FROM product_sales;
Discussion 0
Join free to post in the discussion.