Chapter 6. Advanced Select Sorting and Aggregating
It’s time to take your SELECT to new heights. You already know how to SELECT data and use WHERE clauses. But sometimes your queries need a little more altitude than what SELECT and WHERE can achieve alone.
In this chapter, you’ll learn how to sort your data in multiple ways. You’ll build data groups and perform mathematical calculations on your results. And in CASE you need new categories, you’ll learn how to pull the rip cord with if-then-else logic for your own classifications. Make the SELECT jump and here we go!
Shopping around
Since the last chapter ended, your pal Josh has been busy, very busy.
Get Head First SQL, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.