DataWithBaraa/sql-data-analytics-project
Sobre
Exploratory data analysis and advanced analytics in SQL, from the first look at the data to a customer report and a product report. The data and every query.
Dados e análiseCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +2
- em 15 dias
- +7
- em 1 mês
- +12
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalSQL Data Analytics Project
The materials of the data analytics project: the data, every query from the videos, and the project roadmap.
⭐ If this project helps you, star the repository so other learners can find it too.
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 chapters of both videos: the minute in the video and the script of each one
Exploratory data analysis (the video)
| # | Chapter | Video | Script |
|---|---|---|---|
| 1 | Intro | 0:00:00 | |
| 2 | What is EDA? | 0:00:41 | |
| 3 | Download Project Materials | 0:01:58 | the setup guide |
| 4 | Dimensions & Measures | 0:06:09 | |
| 5 | #1 Database Exploration | 0:11:03 | 01_database_exploration.sql |
| 6 | #2 Dimensions Exploration | 0:14:20 | 02_dimensions_exploration.sql |
| 7 | #3 Date Exploration | 0:18:08 | 03_date_range_exploration.sql |
| 8 | #4 Measures Exploration | 0:23:22 | 04_measures_exploration.sql |
| 9 | #5 Magnitude Analysis | 0:31:54 | 05_magnitude_analysis.sql |
| 10 | #6 Ranking Analysis | 0:43:05 | 06_ranking_analysis.sql |
| 11 | What is Next? | 0:50:01 |
Advanced analytics (the video)
| # | Chapter | Video | Script |
|---|---|---|---|
| 1 | Intro | 0:00:00 | |
| 2 | What is Data Analytics Project? | 0:00:46 | |
| 3 | Download Project Materials | 0:02:07 | the setup guide |
| 4 | #1 Changes Over Time Analysis | 0:06:39 | 07_change_over_time_analysis.sql |
| 5 | #2 Cumulative Analysis | 0:14:42 | 08_cumulative_analysis.sql |
| 6 | #3 Performance Analysis | 0:22:32 | 09_performance_analysis.sql |
| 7 | #4 Part-To-Whole Analysis | 0:34:56 | 10_part_to_whole_analysis.sql |
| 8 | #5 Data Segmentation | 0:42:19 | 11_data_segmentation.sql |
| 9 | #6 Build Customer Report | 0:58:08 | 12_report_customers.sql |
| 10 | #7 Build Product Report | 1:17:21 | 13_report_products.sql |
| 11 | Commit Code in GitHub | 1:20:58 |
The sketches of the project: Project_Notes_Sketches.pdf.
🗺️ What you build

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.
🏆 Share your build
Finished the project? Add this badge to the top of your own README, so others can find the original project too.
[](https://github.com/DataWithBaraa/sql-data-analytics-project)
Then show your build to the others in Discussions, Show and tell.
🎓 Learn with me
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
The SQL projects
| 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
🤝 Connect
🛡️ License
MIT. Use it, change it, share it, with attribution.
🌟 About me
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.
Explore projetos relacionados
Carregando…