January 2020
Beginner
256 pages
5h 11m
English
In this lesson, you’ll learn what subqueries are and how to use them.
SELECT statements are SQL queries. All the SELECT statements we have seen thus far are simple queries—single statements retrieving data from individual database tables.
New Term: Query
Any SQL statement. However, the term is usually used to refer to SELECT statements.
SQL also enables you to create subqueries—queries that are embedded into other queries. Why would you want to do this? The best way to understand this concept is to look at a couple of examples.
The database tables used in all the lessons in this book are relational tables. (See Appendix A, “Sample Table Scripts,” for a description ...
Read now
Unlock full access