May 2023
Intermediate to advanced
352 pages
7h 23m
English
A SQL query walks into a bar, approaches two tables, and asks, “May I join you?”
—The worst database joke in history
Now that you’ve learned how to use SQL to select and filter data from a table, you’ll see how to join database tables. Joining tables means selecting data from more than one table and combining it in a single result set. MySQL provides syntax to do different types of joins, like inner joins and outer joins. In this chapter, you’ll look at how to use each type.
The data you want to retrieve from a database often will be stored in more than one table, and you need ...
Read now
Unlock full access