My SQL learning notes, tutorials and case studies. I am working toward analyst roles, and I use this repo to practise on real-looking datasets and keep a reference of the patterns I learn.
| Folder | What it is |
|---|---|
cheat-sheet/ |
My SQL reference: tricks, patterns and syntax, from SELECT through joins, dates, CASE, subqueries and CTEs |
jupyter-sql-basics_tutorial/ |
A first tutorial: running SQL inside a Jupyter notebook with SQLAlchemy |
case-studies/ |
Real-world style case studies from different sources, with my own queries and notes |
- Case Study 1: Danny's Diner (8 Week SQL Challenge)
SQL (PostgreSQL syntax in the cheat sheet, SQLite in the notebooks), Python, pandas, Jupyter.
- Case Study 1: Danny's Diner comes from Danny Ma's 8 Week SQL Challenge. The questions and dataset belong to the original author. The queries and notes are my own. #8WeekSQLChallenge