← 返回 meta 的题目列表Find Total Sales by Unique Customers
类型:online_judge
Given four tables (books, authors, transactions, customers). Find total sales by unique customers ordered by sales descending.
Example
Input
transactions: [(1, 10), (2, 20), (1, 15), (3, 30)], customers: [1, 2, 3]