{"id":30360500,"url":"https://github.com/krauseannelize/nb-sql-ms-exercises","last_synced_at":"2025-08-19T14:22:56.167Z","repository":{"id":309389914,"uuid":"1036107441","full_name":"krauseannelize/nb-sql-ms-exercises","owner":"krauseannelize","description":"My SQL practice notes and query examples from the Masterschool curriculum","archived":false,"fork":false,"pushed_at":"2025-08-18T16:25:24.000Z","size":1211,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-18T17:39:12.079Z","etag":null,"topics":["jupyter-notebook","learning-by-doing","learning-sql","practice-sql","sql"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krauseannelize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-11T15:10:09.000Z","updated_at":"2025-08-18T16:25:28.000Z","dependencies_parsed_at":"2025-08-11T17:37:25.659Z","dependency_job_id":null,"html_url":"https://github.com/krauseannelize/nb-sql-ms-exercises","commit_stats":null,"previous_names":["krauseannelize/nb-sql-ms-exercises"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krauseannelize/nb-sql-ms-exercises","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krauseannelize%2Fnb-sql-ms-exercises","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krauseannelize%2Fnb-sql-ms-exercises/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krauseannelize%2Fnb-sql-ms-exercises/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krauseannelize%2Fnb-sql-ms-exercises/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krauseannelize","download_url":"https://codeload.github.com/krauseannelize/nb-sql-ms-exercises/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krauseannelize%2Fnb-sql-ms-exercises/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271166857,"owners_count":24710583,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["jupyter-notebook","learning-by-doing","learning-sql","practice-sql","sql"],"created_at":"2025-08-19T14:22:55.258Z","updated_at":"2025-08-19T14:22:56.057Z","avatar_url":"https://github.com/krauseannelize.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL Notes | Masterschool Exercises\n\n## About This Repo\n\nThis is my personal SQL learning journal from the Masterschool Data Analytics program. It includes hands-on exercises, challenges, and practice notebooks organized by sprint. Each notebook reflects a different stage in my learning journey—from basic queries to advanced data manipulation.\n\n## Basic \u0026 Intermediate SQL\n\n### Sprint 1: SQL Fundamentals\n\nLearn the basics of SQL, including query structure and filtering data. Understand how to apply conditions and multiple filters to refine queries.\n\n| Notebook | Type | Topic | Dataset(s) |\n| --- | --- | --- | --- |\n| [Notebook 01](/notebooks/01_introduction_to_sql.ipynb) | Lecture | Introduction to SQL | Chinook |\n| [Notebook 02](/notebooks/02_practice_british_airways.ipynb) | Lecture | SQL Practice | British Airways |\n| [Notebook 03](/notebooks/03_challenge_british_airways_1.ipynb) | Challenge | British Airways I | British Airways |\n\n### Sprint 2: Aggregations \u0026 Custom Data Manipulation\n\nWork with aggregations to summarize data effectively. Learn how to create custom columns and apply sorting techniques.\n\n| Notebook | Type | Topic | Dataset(s) |\n| --- | --- | --- | --- |\n| [Notebook 04](/notebooks/04_practice_chinook.ipynb) | Lecture | SQL Practice | Chinook |\n| [Notebook 05](/notebooks/05_aggregation.ipynb) | Lecture | Aggregation | Chinook |\n| [Notebook 06](/notebooks/06_group_by.ipynb) | Lecture | Group by | Chinook |\n| [Notebook 07](/notebooks/07_intro_to_joins.ipynb) | Lecture | Intro to JOINS | Chinook |\n| [Notebook 08](/notebooks/08_challenge_meta_revenue_1.ipynb) | Challenge | Meta Revenue I | Meta Revenue |\n| [Notebook 09](/notebooks/09_challenge_meta_revenue_2.ipynb) | Challenge | Meta Revenue II | Meta Revenue |\n| [Notebook 10](/notebooks/10_challenge_british_airways_2.ipynb) | Challenge | British Airways II | British Airways |\n\n### Sprint 3: Working with Multiple Tables\n\nMaster JOIN operations to combine columns from different tables. Use UNION operations to merge datasets.\n\n| Notebook | Type | Topic | Dataset(s) |\n| --- | --- | --- | --- |\n| [Notebook 11](/notebooks/11_joins_closer_look.ipynb) | Lecture | JOINS: A Closer Look | Chinook |\n| [Notebook 12](/notebooks/12_unions_except_intersect.ipynb) | Lecture | UNION, EXCEPT \u0026 INTERSECT | Chinook |\n| [Notebook 13](/notebooks/13_practice_chinook.ipynb) | Lecture | SQL Practice | Chinook |\n| [Notebook 14](/notebooks/14_business_case_nike.ipynb) | Lecture | Business Cases | Nike |\n| [Notebook 15](/notebooks/15_challenge_nike_1.ipynb) | Challenge | Nike I | Nike |\n| [Notebook 16](/notebooks/16_challenge_nike_2.ipynb) | Challenge | Nike II | Nike |\n\n### Sprint 4: Unicorn Project \u0026 Practice Exercises\n\nSprint 4 centers around the Unicorn Project, a multi-part case study that integrates SQL, spreadsheets, and Tableau to simulate real-world data analytics work. The full Unicorn Project is documented in a separate repository: [Unicorn Performance Analysis](https://github.com/krauseannelize/da-ms-unicorn-performance).\n\nThis sprint also includes targeted practice notebooks focused on core SQL concepts.\n\n| Notebook | Type | Topic | Dataset(s) |\n| --- | --- | --- | --- |\n| [Notebook 17](/notebooks/17_challenge_british_airways_3.ipynb) | Challenge | British Airways III | British Airways |\n| [Notebook 18](/notebooks/18_challenge_meta_revenue_3.ipynb) | Challenge | Meta Revenue III | Meta Revenue |\n| [Notebook 19](/notebooks/19_challenge_nike_3.ipynb) | Challenge | Nike III | Nike |\n\n## Advanced SQL\n\n## Sprint 1: Multi-Table Queries \u0026 Joins\n\nWork with multiple joins to extract and combine information from different sources. Develop strategies for structuring complex queries effectively.\n\n| Notebook | Type | Topic | Dataset(s) |\n| --- | --- | --- | --- |\n| [Notebook 20](/notebooks/20_multiple_joins.ipynb) | Lecture | Multiple Joins | Advanced British Airways |\n| [Notebook 21](/notebooks/21_left_joins_missing_keys.ipynb) | Lecture | Left Join \u0026 Missing Keys | Advanced British Airways |\n| [Notebook 22](/notebooks/22_subqueries.ipynb) | Lecture | Subqueries | Advanced British Airways |\n| [Notebook 23](/notebooks/23_practice_chinook.ipynb) | Lecture | SQL Practice | Chinook |\n| [Notebook 24](/notebooks/24_exercises_multi_joins.ipynb) | Exercises | Multi Joins in Actions | Advanced British Airways |\n| [Notebook 25](/notebooks/25_challenge_advanced_british_airways_1.ipynb) | Challenge | British Airways I | Advanced British Airways |\n| [Notebook 26](/notebooks/26_challenge_advanced_british_airways_2.ipynb) | Challenge | British Airways II | Advanced British Airways |\n\n## Sprint 2: Data Cleaning \u0026 Advanced Querying\n\nHandle messy text data, date manipulation, and numerical transformations. Learn how to use WITH statements and subqueries for better query organization.\n\n| Notebook | Type | Topic | Dataset(s) |\n| --- | --- | --- | --- |\n| tbd | tbd | tbd | tbd |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrauseannelize%2Fnb-sql-ms-exercises","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrauseannelize%2Fnb-sql-ms-exercises","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrauseannelize%2Fnb-sql-ms-exercises/lists"}