Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 492 Bytes

File metadata and controls

30 lines (20 loc) · 492 Bytes

English Version

题目描述

None

解法

SQL

SELECT seller_id
FROM Sales
GROUP BY  seller_id
HAVING sum(price) =
    (SELECT sum(price) AS s
    FROM Sales
    GROUP BY  seller_id
    ORDER BY  s DESC limit 1)