The Work Gym / Free resources / Free practice datasets
Retail sales dataset
Thirteen weeks of sales from Greenbasket Market, a fictional chain of 12 grocery stores in Ohio: sales by store, week and category, the promotions it ran, and shelf stock checks. Download it as CSV files, one Excel workbook or a SQL script, and practice with the projects built on it.
Download
- retail-sales.xlsxExcel workbook, one sheet per table (4) · 33 KB
- retail-sales.sqlSQL script for PostgreSQL, MySQL, SQLite and DuckDB · 63 KB
CSV files, one per table
- stores.csv12 rows · 457 B
- weekly_sales.csv775 rows · 26 KB
- promotions.csv8 rows · 395 B
- stock_checks.csv406 rows · 18 KB
The data is fictional and free to use for practice, teaching and portfolio work. A link back is appreciated.
What to practice
Greenbasket Market is a fictional grocery chain with 12 stores in Columbus, Dayton, Cincinnati and Cleveland. The data covers July to September 2026. Every name and number is invented for practice.
- Total
net_salesby category and week with a PivotTable, aGROUP BYor a matrix visual. - Compare the weeks a category was on promotion with the weeks it was not, by joining
promotionson category and dates. - Clean
stock_checks.statusfirst: it holds "Out of stock", "out of stock ", "OOS" and blanks for the same few states. - Rank the stores by sales per week, then compare Neighborhood and Superstore formats.
Practice with checked exercises
- Did the summer promotions pay?
Marketing ran eight promotions this summer and wants to plan the fall. Turn the offers into numbers, measure each one against the weeks before it, total the extra sales and write the memo.
- The empty-shelf problem
Store managers say shelves keep running empty, but the shelf checks are messy. Mark every check, compare the stores fairly and show availability next to how much was checked.
- Why did September revenue drop?
The monthly report shows September down on August, and the CFO wants to know why before the board meeting. Separate the calendar from a real decline and say where it came from.
- Your first 90 days as a data analyst
You've joined Greenbasket's two-person analytics team. Review the summer promotions, find the stores running out of stock, then explain a bad month to the CFO.
Data dictionary
Table and column names are exactly as they appear in the files.
stores12 rows
One row per store.
- store_idINTEGER
- Store number, the key the other tables use
- store_nameVARCHAR
- Store name (its neighborhood)
- cityVARCHAR
- City
- formatVARCHAR
- Neighborhood store or Superstore
First rows
| store_id | store_name | city | format |
|---|---|---|---|
| 1 | Clintonville | Columbus | Neighborhood |
| 2 | German Village | Columbus | Neighborhood |
| 3 | Hilliard | Columbus | Superstore |
| 4 | Westerville | Columbus | Superstore |
| 5 | Kettering | Dayton | Superstore |
weekly_sales775 rows
Sales for each store, week and category.
- store_idINTEGER
- Store number
- week_startDATE
- Monday the week starts
- categoryVARCHAR
- Produce, Dairy, Bakery, Snacks or Beverages
- net_salesDOUBLE
- Sales after discounts, in US dollars
- unitsINTEGER
- Items sold
First rows
| store_id | week_start | category | net_sales | units |
|---|---|---|---|---|
| 1 | 2026-07-06 | Produce | 8110.9 | 2616 |
| 1 | 2026-07-06 | Dairy | 6853.36 | 1558 |
| 1 | 2026-07-06 | Bakery | 3501.94 | 796 |
| 1 | 2026-07-06 | Snacks | 4804.32 | 1092 |
| 1 | 2026-07-06 | Beverages | 5691.12 | 1293 |
promotions8 rows
The category promotions the chain ran.
- promo_idVARCHAR
- Promotion code
- categoryVARCHAR
- Category on promotion
- start_weekDATE
- First week of the promotion
- end_weekDATE
- Last week of the promotion
- offerVARCHAR
- The offer, such as "20% off" or "Buy one get one"
First rows
| promo_id | category | start_week | end_week | offer |
|---|---|---|---|---|
| P01 | Snacks | 2026-08-03 | 2026-08-10 | 20% off |
| P02 | Produce | 2026-08-10 | 2026-08-10 | 15% off |
| P03 | Beverages | 2026-08-17 | 2026-08-24 | Buy one get one |
| P04 | Bakery | 2026-08-24 | 2026-08-24 | 5% off |
| P05 | Dairy | 2026-08-31 | 2026-09-07 | 10% off |
stock_checks406 rows
Shelf checks for eight popular items, typed in by store staff, so the status needs cleaning.
- check_idVARCHAR
- Check number
- store_idINTEGER
- Store number
- skuVARCHAR
- The item checked
- checked_onDATE
- Date of the check
- statusVARCHAR
- What staff typed: in stock or out of stock, in several spellings
First rows
| check_id | store_id | sku | checked_on | status |
|---|---|---|---|---|
| C0001 | 1 | Bananas 2 lb | 2026-09-01 | Out of stock |
| C0002 | 1 | Bananas 2 lb | 2026-09-08 | In stock |
| C0003 | 1 | Bananas 2 lb | 2026-09-15 | in stock |
| C0004 | 1 | Bananas 2 lb | 2026-09-22 | In stock |
| C0005 | 1 | Romaine hearts | 2026-09-01 | In stock |
Questions
Is this dataset real?
No. Greenbasket Market and all its numbers are invented, so you can use them freely for practice, teaching and portfolio work.
Which tools can I use it with?
Any. The Excel workbook opens in Excel and Google Sheets, the CSV files load into Power BI, Tableau, pandas or R, and the SQL script creates the tables in PostgreSQL, MySQL, SQLite or DuckDB.
More datasets
Healthcare dataset
Patients, encounters, diagnoses, labs, medications, appointments and claims.
SQL sample database: Kestrel online store
Products, customers, orders, employees, suppliers, tickets and web events in 17 tables.
Shipping and logistics dataset
Freight shipments with promised and delivered dates, and their status events.
Customer churn dataset
Subscribers, cancellations, weekly workouts and an A/B test of an annual offer.
Employee and HR dataset
Employees, exits, salaries, recruiting, headcount and an engagement survey.