logo

Oracle NextGen

score

SQL Challenge

Challenge #10 – Monthly Sales Trend

MediumGo Back
Challenge Overview
Calculate total sales for each month in 2024 and show the month name and total.

Requirements

  • Return columns: month_name, total_sales.
  • Extract month from sale_date and format as month name.
  • Sum all sales amounts per month.
  • Order by month chronologically (January to December).
Sample Dataset
Preview the schema and seeded rows you can query against.

sales

Daily sales transactions.

Columns
NameTypeNotes
sale_idINTPrimary key
sale_dateDATESale date
amountDECIMALSale amount
Sample Rows
sale_idsale_dateamount
12024-01-15200
22024-01-20300
32024-02-10450
42024-03-05350
52024-03-25400
SQL Playground
Loading editor…

Result Preview

Awaiting Run

Run your query to see the dataset preview.