Geographic revenue distribution reveals market concentration and helps inform decisions about advertising targeting, FBA warehouse placement, and regional pricing strategies.
This is part of the Taptic Data Amazon query library. Explore related queries: SQL query for Amazon return rate by SKU, SQL query for Amazon net margin after FBA fees, SQL query for Amazon buy box percentage by ASIN, and more.
The question
The SQL Taptic generates
SELECT o.ship_state AS state, COUNT(DISTINCT o.amazon_order_id) AS orders, SUM(i.quantity) AS units_sold, ROUND(SUM(i.item_price * i.quantity)::numeric, 2) AS gross_revenue, ROUND(AVG(i.item_price * i.quantity)::numeric, 2) AS avg_order_value, ROUND(SUM(i.item_price * i.quantity)::numeric * 100 / NULLIF(SUM(SUM(i.item_price * i.quantity)) OVER ()::numeric, 0), 1) AS pct_of_total FROM amazon_orders o JOIN amazon_order_items i ON i.amazon_order_id = o.amazon_order_id WHERE o.order_status NOT IN ('Canceled', 'Cancelled') AND i.item_price IS NOT NULL AND o.ship_state IS NOT NULL AND o.ship_state != '' AND o.purchase_date::date >= NOW() - INTERVAL '12 months' GROUP BY o.ship_state ORDER BY gross_revenue DESC LIMIT 25
This query was generated by Taptic Data from plain English against a real Amazon Seller Central schema. In Taptic, you type the question โ the AI writes the SQL, runs it, and returns the result. You can edit the SQL, ask for explanations, and save it as a refreshable report.
How this query works
What it returns
Top 25 US states by Amazon revenue with orders, units, gross revenue, average order value, and percentage of total.
Why it matters
FAQ
Generate this automatically
In Taptic Data, you type "Show me Amazon revenue by state for the last 12 months..." and this SQL runs automatically against your real Amazon Seller Central data.
Try Taptic Free โ $29.99/moNo credit card required. Connect your data source in under 5 minutes.
Compare tools