Hard
Write SQL Query for Sales Report
Construct an SQL query to aggregate sales data by region.
📝 Promptens innehåll
Write an SQL query for a table named 'Sales' with columns (id, product_name, amount, sale_date, region). The query should return the total sales amount and the number of transactions for each region where the sale_date is in the year 2023. Order the results by the total sales amount in descending order.