August 2016
Intermediate to advanced
464 pages
15h 32m
English
This chapter covers querying topics that go beyond the fundamentals and is provided as optional reading. It starts with the powerful window functions, which you can use to apply data-analysis calculations in a flexible and efficient manner. The chapter continues with techniques for pivoting and unpivoting data. Pivoting rotates data from a state of rows to columns, and unpivoting rotates data from columns to rows, similar to pivot tables in Excel. The chapter finishes with a discussion about grouping sets, which are the sets of expressions that you group the data by. It covers techniques for defining multiple grouping sets in the same query.
What’s common to the features covered in this chapter, ...
Read now
Unlock full access