题目链接:点击打开链接题目大意:略。解题思路:略。AC 代码SELECT product_id, SUM(quantity) total_quantityFROM SalesGROUP BY product_id