-
Chapter 1 Introduction to SQL
-
What Is SQL?
-
A Brief History of SQL
-
A Simple Database
-
DML Statements
-
-
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
-
Inner Joins
-
Outer Joins
-
Self Joins
-
Joins and Subqueries
-
DML Statements on a Join View
-
ANSI-Standard Join Syntax in Oracle9i
-
-
Chapter 4 Group Operations
-
Aggregate Functions
-
The GROUP BY Clause
-
The HAVING Clause
-
-
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
-
Internal DATE Storage Format
-
Getting Dates In and Out of a Database
-
Date Manipulation
-
Oracle9i New DATETIME Features
-
INTERVAL Literals
-
-
Chapter 7 Set Operations
-
Set Operators
-
Using Set Operations to Compare 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
-
-
Chapter 9 DECODE and CASE
-
DECODE, NVL, and NVL2
-
The Case for CASE
-
DECODE and CASE Examples
-
-
Chapter 10 Partitions, Objects, and Collections
-
Table Partitioning
-
Objects and Collections
-
-
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 Advanced Group Operations
-
ROLLUP
-
CUBE
-
The GROUPING Function
-
GROUPING SETS
-
Oracle9i Grouping Features
-
The GROUPING_ID and GROUP_ID Functions
-
-
Chapter 13 Advanced Analytic SQL
-
Analytic SQL Overview
-
Ranking Functions
-
Windowing Functions
-
Reporting Functions
-
Summary
-
-
Chapter 14 SQL Best Practices
-
Know When to Use Specific Constructs
-
Avoid Unnecessary Parsing
-
Consider Literal SQL for Decision Support Systems
-
-
Colophon
- Title:
- Mastering Oracle SQL
- By:
- Sanjay Mishra, Alan Beaulieu
- Publisher:
- O'Reilly Media
- Formats:
-
- Print Release:
- April 2002
- Pages:
- 336
- Print ISBN:
- 978-0-596-00129-2
- | ISBN 10:
- 0-596-00129-0
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 insect on the cover of Mastering Oracle SQL is a lantern fly. 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. Colleen Gorman was the production editor and copyeditor for Mastering Oracle SQL. Sheryl Avruch and Ann Schirmer provided quality control. Tom Dinse wrote the index.
Ellie Volckhausen and Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from Johnson's Natural History. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools written in Perl by Erik Ray, Jason McIntosh, and Neil Walls, as well as tools written by Mike Sierra. 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.
