Please consider the latest edition.
-
Chapter 1 Introduction to SQL
-
What Is SQL?
-
A Brief History of SQL
-
A Simple Database
-
DML Statements
-
So Why Are There 17 More Chapters?
-
-
Chapter 2 The WHERE Clause
-
Life Without WHERE
-
WHERE to the Rescue
-
WHERE Clause Evaluation
-
Conditions and Expressions
-
WHERE to Go from Here
-
-
Chapter 3 Joins
-
What Is a Join Query?
-
Join Conditions
-
Types of Joins
-
Joins and Subqueries
-
DML Statements on a Join View
-
-
Chapter 4 Group Operations
-
Aggregate Functions
-
The GROUP BY Clause
-
The HAVING Clause
-
Nested Group Operations
-
-
Chapter 5 Subqueries
-
What Is a Subquery?
-
Noncorrelated Subqueries
-
Correlated Subqueries
-
Inline Views
-
Subquery Case Study: The Top N Performers
-
-
Chapter 6 Handling Temporal Data
-
Time Zones
-
Temporal Data Types in Oracle
-
Literals of Temporal Types
-
Getting Temporal Data In and Out of a Database
-
Date and Time Formats
-
Manipulating Temporal Data
-
-
Chapter 7 Set Operations
-
Set Operators
-
Precedence of Set Operators
-
Comparing Two Tables
-
Using NULLs in Compound Queries
-
Rules and Restrictions on Set Operations
-
-
Chapter 8 Hierarchical Queries
-
Representing Hierarchical Information
-
Simple Hierarchy Operations
-
Oracle SQL Extensions
-
Complex Hierarchy Operations
-
Restrictions on Hierarchical Queries
-
Enhancements in Oracle Database 10g
-
-
Chapter 9 DECODE and CASE
-
DECODE, NULLIF, NVL, and NVL2
-
The Case for CASE
-
DECODE and CASE Examples
-
-
Chapter 10 Partitioning
-
Partitioning Concepts
-
Partitioning Tables
-
Partitioning Indexes
-
Partitioning Methods
-
Specifying Partitions
-
Partition Pruning
-
-
Chapter 11 PL/SQL
-
What Is PL/SQL?
-
Procedures, Functions, and Packages
-
Calling Stored Functions from Queries
-
Restrictions on Calling PL/SQL from SQL
-
Stored Functions in DML Statements
-
The SQL Inside Your PL/SQL
-
-
Chapter 12 Objects and Collections
-
Object Types
-
Collection Types
-
Collection Instantiation
-
Querying Collections
-
Collection Unnesting
-
Collection Functions
-
Comparing Collections
-
Manipulating Collections
-
Multilevel Collections
-
-
Chapter 13 Advanced Group Operations
-
Multiple Summary Levels
-
Pushing the GROUPING Envelope
-
The GROUPING_ID and GROUP_ID Functions
-
-
Chapter 14 Advanced Analytic SQL
-
Analytic SQL Overview
-
Ranking Functions
-
Windowing Functions
-
Reporting Functions
-
Summary
-
-
Chapter 15 SQL Best Practices
-
Know When to Use Specific Constructs
-
Avoid Unnecessary Parsing
-
Consider Literal SQL for Decision-Support Systems
-
-
Chapter 16 XML
-
What Is XML?
-
Storing XML Data
-
Generating XML Documents
-
Summary
-
-
Chapter 17 Regular Expressions
-
Elementary Regular Expression Syntax
-
Advanced Function Options
-
Advanced Regular Expression Syntax
-
-
Chapter 18 Model Queries
-
Basic Elements of a Model Query
-
Cell References
-
Rules
-
Iterative Models
-
Reference Models
-
-
Appendix A Oracle's Old Join Syntax
-
Old Inner Join Syntax
-
Old Outer Join Syntax
-
Advantages of the New Join Syntax
-
-
Colophon
- Title:
- Mastering Oracle SQL, Second Edition
- By:
- Sanjay Mishra, Alan Beaulieu
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- June 2004
- Ebook Release:
- February 2009
- Pages:
- 496
- Print ISBN:
- 978-0-596-00632-7
- | ISBN 10:
- 0-596-00632-2
- Ebook ISBN:
- 978-0-596-10437-5
- | ISBN 10:
- 0-596-10437-5
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of Mastering Oracle SQL, Second Edition are lantern flies. The lantern fly is mostly tropical, with a wingspan of up to six inches. The lantern fly's elongated head is an evolutionary adaptation called automimicry, in which parts of the body are disguised or artifically shifted to other areas to confuse predators: the lantern fly's head looks like a tail, and its tail looks like a head. On the rear it has artificial eyes and antennae. Matt Hutchinson was the production editor for Mastering Oracle SQL, Second Edition. Octal Publishing, Inc. provided production services. Sarah Sherman, Marlowe Shaeffer, and Colleen Gorman provided quality control.
Ellie Volckhausen and Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is from Johnson's Natural History. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Colleen Gorman.
