You learn what related tables are and how to query them.
You revisit table and data management.
You explore how to learn more SQL on your own.
What you need to know
To understand the SQL covered in this chapter, you need to know what databases and tables are, as well as the basics of SQL queries. If not, read chapter 1 first.
As you read this chapter, you will find more code snippets. If you want to execute those code snippets or see their variations for different relational database management systems (RDMBSs), check the GitHub repository that accompanies this book (https://github.com/Neo-Hao/grokking-relational-database-design). You can find the scripts for this chapter in the chapter_02 folder; follow the instructions in the README.md file to run the scripts.
The easiest approach is to use SQLite Online as follows: