Oracle Magazine: Getting started with SQL Analytics
- by KLaker
I am currently working on a series of podcasts covering the broad categories of our SQL analytical functions and features and while I was doing some research I came across of series of four articles in the Oracle Magazine.
This series of article is written by Melanie Caffrey who is a senior development manager at Oracle. She is a coauthor of Expert PL/SQL Practices for Oracle Developers and DBAs (Apress, 2011) and Expert Oracle Practices: Oracle Database Administration from the Oak Table (Apress, 2010).
The four articles are under the banner "Technology: SQL 101" and parts 9, 10, 11 and 12 cover SQL analytics. Here are the links to the four articles:
Jan 2013 Having Sums, Averages, and Other Grouped Data
March 2013 A Window into the World of Analytic Functions
May 2013 Leading Ranks and Lagging Percentages: Analytic Functions, Continued
July 2013 Pivotal Access to Your Data: Analytic Functions, Concluded
The articles cover topics such as GROUP BY, SUM, AVG, HAVING, window functions, RANK, FIRST, LAST, LAG, LEAD etc.
The great news is that you can try out the examples in this series. All you need is access to an Oracle Database instance. All the schemas, data sets and SQL statements that you will need can be downloaded from a link included in the January article.
I hope you find this series of articles useful.