7. Subqueries, Cases, and Views
Overview
In this chapter, we will look at some techniques that will help us add logic to our existing queries using CASE
statements. We will also query data present in multiple tables using subqueries. We will also create views using queries that allows us the flexibility to create a temporary table to run queries on.