Leetcode - 1069. Product Sales Analysis II

Loading...
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
SELECT product_id, SUM(quantity) as total_quantity
FROM Sales
GROUP BY product_id