Oracle SQL is one of the world's most powerful dialects, packed with advanced functions and features that give Oracle SQL procedural language capabilities. Using these powerful features it is no longer necessary to embed Oracle SQL inside a procedural language, and native Oracle SQL can now be used to solve complex query problems.
This is an indispensable book for all Oracle DBA's and developers who need to understand how to apply Oracle SQL features for complex queries.
Written by a certified Oracle Master and Oracle ACE, this advanced book shows working examples of how to leverage Oracle SQL's powerful built-in functions for fast extraction of complex data and how to use native SQL for procedural processing.
Every developer needs to know how to use Oracle SQL to summarize and aggregate data from large tables and how to use powerful features such as the "model" clause to make SQL act as a procedural language.
This book shows important techniques on how to leverage Oracle's powerful XML interface to quickly format Oracle data with XML for instant publication.
This is not a book for beginners or dilettantes and it is designed for the professional Oracle developer, covering many advanced Oracle SQL techniques including XML queries, Oracle SQL analytics, SQL for aggregation, and traversing Hierarchies.
Best of all, the author reveals secrets for retrieving Oracle data faster and more elegantly than the traditional approaches to writing SQL.
About the Author
Laurent Schneider is an Oracle Certified Master with more than 10 years of experience with Oracle and UNIX. He has written many articles about Oracle technologies and has provided thousands of answers on online technical forums. He is currently a management system engineer at LC Systems Engineering.
Donald Burleson is one of the world’s top Oracle Database experts with more than 20 years of full-time DBA experience. He has written 30 books, including Oracle Data Mining and Oracle Shell Scripting, and serves as editor-in-chief of Rampant TechPress.
Chapter 1: Oracle SQL Query Overview
- Using the Online Code Depot
- Conventions Used in this Book
Chapter 2: Oracle SQL Functions
- Syntax Review
- Subquery Inline view
- Nested subquery
- SQL expressions
Chapter 3: SQL Aggregate Functions
- Oracle SQL functions
- Mathematic functions
- Binary functions
- Signs functions
- Rounding and truncating functions
- Modulo functions
- Functions to search and modify strings
- Regular expression functions
- Conversion functions
- NLS functions
- National character set
- Logical functions with true or false values
- Null functions
Chapter 4: Oracle SQL Analytics
- Aggregate functions
- Standard Aggregate Functions
- Nested Aggregates
- PIVOT and UNPIVOT
Chapter 5: XML
- Ranking functions
- FIRST_VALUE and LAST_VALUE
Chapter 6: Oracle Hierarchies
- XML Instance
- XMLCONCAT and XMLFOREST
Chapter 7: SQL For Modeling
- Hierarchical Queries
- CONNECT BY, PRIOR and START WITH
- ORDER SIBLINGS BY
- SYS_CONNECT_BY_PATH CONNECT_BY_ROOT
- CONNECT BY LOOP
- CONNECT BY NOCYCLE and CONNECT_BY_ISCYCLE
- CONNECT BY without PRIOR CONNECT_BY_IS_LEAF
- WHERE and JOIN
Appendix A: SQL*Plus
- SQL for Modeling
- Partitions, dimensions and measures
- FOR loops
- Reference Model
- Ordered Rows
About Laurent Schneider
- Starting SQL*Plus
- SQL*Plus Statements
- Substitution Variables
About Chen Shapira
About Tom Routen