Skip to content

Latest commit

Β 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

Head First SQL, 2nd edition

Code and datasets for Head First SQL, 2nd edition by Kimberly Fessel.

Published by: O'Reilly Media, June 2026.

Who this Repository Is For

This repository is indended for readers following along with the book. It contains scripts for recreating the chapter datasets.

The .sql files allow readers to build the book’s datasets locally and practice SQL by working through the examples and exploring the data themselves.

Repository Structure

β”œβ”€β”€ README.md
└── datasets/
β”œβ”€β”€ appendix_i/ trees.sql
β”œβ”€β”€ chapter_01/ locations.sql
β”œβ”€β”€ chapter_03/ foods_setup.sql
β”œβ”€β”€ chapter_05/ neighborhood_db_setup.sql
β”œβ”€β”€ chapter_08/ travel_db_setup.sql
β”œβ”€β”€ chapter_10/ camp_calloway_db_setup.sql
└── chapter_15/ checking.sql

Data files are organized by the chapter in which they are first introduced. All datasets can be found in the datasets/ directory.

Requirements

  • MySQL (Version 8.0+) preferred

Get your own copy of MySQL Community Edition for free. Just select your OS and follow the installation instructions. See also Appendix II (B) in the book.

If you would like to use a different RDBMS (PostgreSQL, SQLite, etc.), note that you may need to occassionally update the book syntax.

About the Author

Kimberly Fessel is a data scientist, educator, and founder of Dr Kim Data, a consultancy focused on data education and practical machine learning solutions. With more than a decade of teaching experience, she has educated students and professionals in corporate settings, universities, online platforms, and as a director at a data science bootcamp.

Known for her visual and intuitive teaching style, Kimberly helps learners make sense of complex technical concepts through approachable, hands-on instruction. Her educational YouTube channel has grown to more than 20,000 subscribers. She holds a Ph.D. in Applied Mathematics from Rensselaer Polytechnic Institute.

πŸ”— Let’s Connect

About

Supplemental materials for Head First SQL, 2nd edition.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors