Published on

Leetcode - 1069. Product Sales Analysis II

Authors
  • avatar
    Name
    Indo Yoon
    Twitter
Table of Contents

[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.

LeetCode

](https://leetcode.com/problems/product-sales-analysis-ii/description/)

SELECT product_id, SUM(quantity) as total_quantity
FROM Sales
GROUP BY product_id