SQL
SELECT CustomerId, SUM(Sales)
FROM "order-details"
WHERE State = "CO"
GROUP BY 1
ORDER BY 2 DESC
LIMIT 10Last updated
Was this helpful?
SELECT CustomerId, SUM(Sales)
FROM "order-details"
WHERE State = "CO"
GROUP BY 1
ORDER BY 2 DESC
LIMIT 10Last updated
Was this helpful?
Was this helpful?