No Signup Required

Try AskLytix Live

Click any sample question below to see instant SQL generation, data visualization, and AI insights

Sample Questions

πŸ‘€
Your Question

Show sales distribution across US regions

AskLytix AI
AI-Powered Query Generation
5.8s
Generated SQL Query
SELECT 
  st.Region,
  st.State,
  COUNT(DISTINCT s.OrderID) as TotalOrders,
  SUM(s.TotalAmount) as TotalSales,
  AVG(s.TotalAmount) as AvgOrderValue,
  COUNT(DISTINCT s.CustomerKey) as UniqueCustomers
FROM FactSales s
JOIN DimStore st ON s.StoreKey = st.StoreKey
WHERE s.OrderDate >= DATEADD(YEAR, -1, GETDATE())
GROUP BY st.Region, st.State
ORDER BY TotalSales DESC;

Geographic Sales Distribution

Last 12 Months β€’ US Regions

California
West
$15.6M
8,920 orders
Performance98%
California
Customers: 4,230
Avg Order: $1,749
1
New York
East
$13.2M
7,850 orders
Performance92%
New York
Customers: 3,890
Avg Order: $1,681
2
Texas
South
$10.8M
6,540 orders
Performance85%
Texas
Customers: 3,250
Avg Order: $1,651
3
Illinois
Central
$8.9M
5,230 orders
Performance78%
Illinois
Customers: 2,680
Avg Order: $1,702
Washington
West
$8.2M
4,780 orders
Performance75%
Washington
Customers: 2,420
Avg Order: $1,715
Florida
East
$7.1M
4,320 orders
Performance70%
Florida
Customers: 2,180
Avg Order: $1,643
Colorado
Central
$6.5M
3,890 orders
Performance65%
Colorado
Customers: 1,950
Avg Order: $1,671
Georgia
South
$5.8M
3,560 orders
Performance60%
Georgia
Customers: 1,780
Avg Order: $1,629

Regional Performance

2
West
$23.8M
2
East
$20.3M
2
South
$16.6M
2
Central
$15.4M
Total Sales
$76.1M
↑ Across 8 states
Total Orders
45,090
All regions
Unique Customers
22,380
Active buyers
AI Insights

West Coast (California, Washington) leads with $23.8M combined sales. Top 3 states account for 52% of total revenue.

βœ“ Query executed successfully

Ready to analyze your own data?

Connect your database, unlock unlimited queries, and get AI-powered insights for your business.