Format:
xxiii, 460 Seiten
,
Diagramme
,
26 cm
ISBN:
9781484256169
,
1484256166
Content:
"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." --
Note:
Includes index
,
Introduction -- Part 1: Core SQL -- Correlating inline views -- Pitfalls of set operations -- Divide and conquer with subquery factoring -- Tree calculations with recursion -- Functions defined within SQL -- Iterative calculations with multidimensional data -- Unpivoting columns to rows -- Pivoting rows to columns -- Splitting delimited text -- Creating delimited text -- Part 2: Analytic functions -- Analytic partitions, ordering, and Windows -- Answering Top-N questions -- Ordered subsets with rolling sums -- Analyzing activity logs with lead -- Forecasting with linear regression -- Rolling sums to forecast reaching minimums -- Part 3: Row pattern matching -- Grouping data through patterns -- Merging date ranges -- Finding abnormal peaks -- Bin fitting -- Counting children in trees
Additional Edition:
Erscheint auch als Online-Ausgabe ISBN 978-1-4842-5617-6
Language:
English
Subjects:
Computer Science
Keywords:
ORACLE
;
Datenbankverwaltung