Team Fly |
Y Box Games Bounce 25.55 21.13 Y Box Games Comic Book Heroes 25.76 22.14 Y Box Games Endurance Racing 42.58 34.29 Y Box Games Finding Fido 16.6 12.79 Y Box Games Martial Arts Champions 25.76 22.14 Y Box Games Smash up Boxing 38.64 33.2 9 rows selected.
While the final example, and a few transformations along the way, could be considered more along the lines of intermediate SQL, take some time to study each of the steps and the resulting changes to the output. Once you understand the different components of the SQL statement that evolved in this project, you'll be well on your way to unleashing the power of SQL.
1. Retrieve a list of all product categories, subcategories, names, and list prices where the list price is greater than $100. Order this query by product category, subcategory, and name.
2. List the aggregate total sales for every product category and subcategory group using the ANSI natural join syntax.
3. Retrieve a list of all customers IDs and last names where the customer only has one entry in the SALES table.
Team Fly |