-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

The MySQL Workshop
By :

In this chapter, you learned how to combine the information in multiple tables to get the results you want. In addition to that, you learned how to use the WITH
statement to create virtual tables that are only valid for the duration of the query, but can make the queries easier to read. And by using WITH
RECURSIVE
, you now know how to generate ranges of data that can be used for joining or for generating data for testing. With EXPLAIN
, we can now start to understand what the database needs to do to get our results and how indexes can help to improve that.
In the next chapter, we will cover making changes to the data stored in tables and/or collections and how to remove data from tables and collections that are no longer needed. For this, we will use UPDATE
and DELETE
statements to work with tables and modify()
and remove()
to work with JSON documents inside collections.