New: Try Voli The Bear, Fast package manager (and not only) for Windows
SQL
-- "Who's our #1 customer?" This counts orders, not revenue - it picks the wrong customer. Fix it to rank by total revenue.
SELECT customer AS name, COUNT(*) AS total FROM orders GROUP BY customer ORDER BY total DESC LIMIT 1;