LeetCode-SQL-586. 訂單最多的客戶

SELECT customer_number FROM orders GROUP BY customer_number ORDER BY COUNT(*) DESC LIMIT 1
相關文章
相關標籤/搜索