The materials of the data analytics project: the data, every query from the videos, and the project roadmap.
You explore a sales database step by step, then go deeper with trends, segments and two full reports.
New here? Open the setup guide in the 00_setup folder. It walks you through installing SQL Server and creating the database, on Windows and Mac, with the fixes for the common errors.
sql-data-analytics-project/
├── 00_setup/ the setup guide, and the one-click Docker start for Mac
├── 01_datasets/ the data, as a backup and as CSV files
│ ├── DataWarehouseAnalytics.bak the database, ready to restore
│ └── csv-files/ the same data, to build the database yourself
├── 02_docs/ the project roadmap and notes
└── 03_scripts/ the queries, in the order of the videos
└── 00_init_database.sql builds the database from the CSV files
Get the database in one of two ways:
- Restore
01_datasets/DataWarehouseAnalytics.bakin SSMS. It needs SQL Server 2022 or newer. - Or run
03_scripts/00_init_database.sql. It builds the database from the CSV files inC:\sql\sql-data-analytics-project\01_datasets\csv-files\.
The videos show the folders without numbers: datasets there is 01_datasets here, scripts is 03_scripts.
The project has two parts, and the scripts follow them:
- Exploratory data analysis, scripts
01to06: you get to know the data, from the tables and dates to the big numbers and the top performers. - Advanced analytics, scripts
07to13: you go deeper with trends, running totals, performance, part-to-whole and segments. Two reports close the project, one for customers and one for products.
Watch on YouTube, or take the guided version with a certificate on my Academy or Udemy.
| Course | YouTube | My Academy | Udemy |
|---|---|---|---|
| SQL | Full course · Playlist | Full Package · Handbook | SQL Bootcamp · SQL for Analytics |
| Python | Full course · Playlist | Full Package · Handbook | Python Bootcamp |
| Tableau | Full course · Playlist | Full Package | Tableau Course · Chart Masterclass |
| Power BI | Full course | ||
| Databricks | Full course |
Materials on my website: SQL · Python · Tableau · Power BI
| Project | YouTube | Materials | Udemy |
|---|---|---|---|
| Data Warehouse | Watch | Repository | Building a Modern Data Warehouse |
| Exploratory Data Analysis | Watch | this repository | SQL for Exploratory Data Analysis |
| Advanced Data Analytics | Watch | this repository |
More on YouTube: Data projects · Data careers
MIT. Use it, change it, share it, with attribution.
Hi, I'm Baraa Khatib Salkini. I spent years in enterprise data engineering and built one of the largest lakehouses at Mercedes-Benz. Today I teach data full-time at Data With Baraa: visually, step by step, from zero to hero.
