This SQL query selects the top 200 distinct cities from sales order data, counts the number of orders per city, and sorts the results by order count descending. It filters the sales data to only include orders from Chennai and Delhi, groups the results by city, and returns the city and aggregated order count for each.
This SQL query selects the top 200 distinct cities from sales order data, counts the number of orders per city, and sorts the results by order count descending. It filters the sales data to only include orders from Chennai and Delhi, groups the results by city, and returns the city and aggregated order count for each.
This SQL query selects the top 200 distinct cities from sales order data, counts the number of orders per city, and sorts the results by order count descending. It filters the sales data to only include orders from Chennai and Delhi, groups the results by city, and returns the city and aggregated order count for each.