Now on Omarchy: read the manual without leaving your desktop
Your code 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;