About the dataset
Harbor & Pine is a fictional US online store for furniture, lighting and home goods. Three years of orders, 2023 to 2025, with the mess real data has: missing values, stray spaces, duplicate customers. SQL and Python levels use the same 8 tables.
customers2,018 rows · 9 columns - Who buys: city, state, signup date, consumer or business, how they found the store.
products120 rows · 8 columns - The catalog: category, price, cost (sometimes missing), launch date, still on sale or not.
orders12,000 rows · 7 columns - One row per order: when, which channel, status, shipping fee, coupon.
order_items30,338 rows · 6 columns - The lines inside each order: product, quantity, price paid, discount.
returns1,673 rows · 5 columns - What came back, why, and how much was refunded.
employees60 rows · 8 columns - The team, with departments, titles, salaries and who reports to whom.
web_sessions40,000 rows · 7 columns - Site visits: device, traffic source, pages viewed, whether it converted.
marketing_spend3,276 rows · 3 columns - Daily spend per marketing channel, for cost-per-conversion work.