Mastering Oracle SQL
By
Sanjay Mishra,
Alan Beaulieu
April 2002
Pages: 336
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
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
Return to Mastering Oracle SQL