Limit search to available items
Book Cover
E-book
Author Berg Hansen, Kim, author

Title Practical Oracle SQL : mastering the full power of Oracle database / Kim Berg Hansen
Published [Berkeley, CA] : Apress, [2020]

Copies

Description 1 online resource
Contents Part I. Core SQL -- 1. Correlating Inline Views -- 2. Pitfalls of Set Operations -- 3. Divide and Conquer with Subquery Factoring -- 4. Tree Calculations with Recursion -- 5. Functions Defined Within SQL -- 6. Iterative Calculations with Multidimensional Data -- 7. Unpivoting Columns to Rows -- 8. Pivoting Rows to Columns -- 9. Splitting Delimited Text -- 10. Creating Delimited Text -- Part II. Analytic Functions -- 11. Analytic Partitions, Ordering and Windows -- 12. Answering Top-N Questions -- 13. Ordered Subsets with Rolling Sums -- 14. Analyzing Activity Logs with Lead -- 15. Forecasting with Linear Regression -- 16. Rolling Sums to Forecast Reaching Minimums -- Part III. Row Pattern Matching -- 17. Up and Down Patterns -- 18. Grouping Data Through Patterns -- 19. Merging Date Ranges -- 20. Finding Abnormal Peaks -- 21. Bin Fitting -- 22. Counting Children in Trees
Summary Write powerful queries using as much of the feature-rich Oracle SQL language as possible, progressing beyond the simple queries of basic SQL as standardized in SQL-92. Both standard SQL and Oracles own extensions to the language have progressed far over the decades in terms of how much you can work with your data in a single, albeit sometimes complex, SQL statement. If you already know the basics of SQL, this book provides many examples of how to write even more advanced SQL to huge benefit in your applications, such as: Pivoting rows to columns and columns to rows Recursion in SQL with MODEL and WITH clauses Answering Top-N questions Forecasting with linear regressions Row pattern matching to group or distribute rows Using MATCH_RECOGNIZE as a row processing engine The process of starting from simpler statements in SQL, and gradually working those statements stepwise into more complex statements that deliver powerful results, is covered in each example. By trying out the recipes and examples for yourself, you will put together the building blocks into powerful SQL statements that will make your application run circles around your competitors. You will: Take full advantage of advanced and modern features in Oracle SQL Recognize when modern SQL constructs can help create better applications Improve SQL query building skills through stepwise refinement Apply set-based thinking to process more data in fewer queries Make cross-row calculations with analytic functions Search for patterns across multiple rows using row pattern matching Break complex calculations into smaller steps with subquery factoring
Notes Includes index
Online resource; title from digital title page (viewed on March 16, 2020)
SUBJECT Oracle (Computer file) http://id.loc.gov/authorities/names/n91015760
Oracle (Computer file) fast
Subject SQL (Computer program language)
Database design.
Database design
SQL (Computer program language)
Form Electronic book
ISBN 9781484256176
1484256174