Buying Options
Mastering Oracle SQL, Second Edition
Print $39.95
Add to Cart
Print+Ebook $43.95
Add to Cart
Ebook $31.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £30.50
Add to Cart
What is this?

Product Editions

Please consider the latest edition.

  1. Oracle PL/SQL for DBAs - October 2005
  2. Mastering Oracle SQL, Second Edition - June 2004
  3. Mastering Oracle SQL - April 2002 (out of print)
Description
Updated to cover Oracle 10g, this edition of the highly regarded Mastering Oracle SQL has a stronger focus on practical, expert best-practices and on Oracle-specific SQL technique than any other book on the market. For those who want to harness the untapped (and often overlooked) power of Oracle SQL, this essential guide for putting Oracle SQL to work will prove invaluable.
Full Description
Table of Contents
  1. Chapter 1 Introduction to SQL

    1. What Is SQL?

    2. A Brief History of SQL

    3. A Simple Database

    4. DML Statements

    5. So Why Are There 17 More Chapters?

  2. Chapter 2 The WHERE Clause

    1. Life Without WHERE

    2. WHERE to the Rescue

    3. WHERE Clause Evaluation

    4. Conditions and Expressions

    5. WHERE to Go from Here

  3. Chapter 3 Joins

    1. What Is a Join Query?

    2. Join Conditions

    3. Types of Joins

    4. Joins and Subqueries

    5. DML Statements on a Join View

  4. Chapter 4 Group Operations

    1. Aggregate Functions

    2. The GROUP BY Clause

    3. The HAVING Clause

    4. Nested Group Operations

  5. Chapter 5 Subqueries

    1. What Is a Subquery?

    2. Noncorrelated Subqueries

    3. Correlated Subqueries

    4. Inline Views

    5. Subquery Case Study: The Top N Performers

  6. Chapter 6 Handling Temporal Data

    1. Time Zones

    2. Temporal Data Types in Oracle

    3. Literals of Temporal Types

    4. Getting Temporal Data In and Out of a Database

    5. Date and Time Formats

    6. Manipulating Temporal Data

  7. Chapter 7 Set Operations

    1. Set Operators

    2. Precedence of Set Operators

    3. Comparing Two Tables

    4. Using NULLs in Compound Queries

    5. Rules and Restrictions on Set Operations

  8. Chapter 8 Hierarchical Queries

    1. Representing Hierarchical Information

    2. Simple Hierarchy Operations

    3. Oracle SQL Extensions

    4. Complex Hierarchy Operations

    5. Restrictions on Hierarchical Queries

    6. Enhancements in Oracle Database 10g

  9. Chapter 9 DECODE and CASE

    1. DECODE, NULLIF, NVL, and NVL2

    2. The Case for CASE

    3. DECODE and CASE Examples

  10. Chapter 10 Partitioning

    1. Partitioning Concepts

    2. Partitioning Tables

    3. Partitioning Indexes

    4. Partitioning Methods

    5. Specifying Partitions

    6. Partition Pruning

  11. Chapter 11 PL/SQL

    1. What Is PL/SQL?

    2. Procedures, Functions, and Packages

    3. Calling Stored Functions from Queries

    4. Restrictions on Calling PL/SQL from SQL

    5. Stored Functions in DML Statements

    6. The SQL Inside Your PL/SQL

  12. Chapter 12 Objects and Collections

    1. Object Types

    2. Collection Types

    3. Collection Instantiation

    4. Querying Collections

    5. Collection Unnesting

    6. Collection Functions

    7. Comparing Collections

    8. Manipulating Collections

    9. Multilevel Collections

  13. Chapter 13 Advanced Group Operations

    1. Multiple Summary Levels

    2. Pushing the GROUPING Envelope

    3. The GROUPING_ID and GROUP_ID Functions

  14. Chapter 14 Advanced Analytic SQL

    1. Analytic SQL Overview

    2. Ranking Functions

    3. Windowing Functions

    4. Reporting Functions

    5. Summary

  15. Chapter 15 SQL Best Practices

    1. Know When to Use Specific Constructs

    2. Avoid Unnecessary Parsing

    3. Consider Literal SQL for Decision-Support Systems

  16. Chapter 16 XML

    1. What Is XML?

    2. Storing XML Data

    3. Generating XML Documents

    4. Summary

  17. Chapter 17 Regular Expressions

    1. Elementary Regular Expression Syntax

    2. Advanced Function Options

    3. Advanced Regular Expression Syntax

  18. Chapter 18 Model Queries

    1. Basic Elements of a Model Query

    2. Cell References

    3. Rules

    4. Iterative Models

    5. Reference Models

  1. Appendix A Oracle's Old Join Syntax

    1. Old Inner Join Syntax

    2. Old Outer Join Syntax

    3. Advantages of the New Join Syntax

  2. Colophon

View Full Table of Contents
Product Details
Title:
Mastering Oracle SQL, Second Edition
By:
Sanjay Mishra, Alan Beaulieu
Publisher:
O'Reilly Media
Formats:
  • Print
  • 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
Customer Reviews
About the Authors
  1. Sanjay Mishra

    Sanjay Mishra is a certified Oracle database administrator with more than ten years of IT experience. He has been involved in the design, architecture, and implementation of many mission-critical and decision support databases. He has worked extensively in the areas of database architecture, database management, backup / recovery, performance tuning, Oracle Parallel Server, and parallel execution. He has a Bachelor of Science degree in Electrical Engineering, and a Master of Engineering degree in Systems Science and Automation. He is the coauthor of Oracle Parallel Processing and Oracle SQL Loader: The Definitive Guide (both published by O'Reilly & Associates). Presently, he works as a database architect at Dallas Based i2 Technologies, and can be reached at sanjay_mishra@i2.com.

    View Sanjay Mishra's full profile page.

  2. Alan Beaulieu

    Alan Beaulieu has been designing, building, and implementing custom database applications for over 13 years. He currently runs his own consulting company that specializes in designing Oracle databases and supporting services in the fields of Financial Services and Telecommunications. In building large databases for both OLTP and OLAP environments, Alan utilizes such Oracle features as Parallel Query, Partitioning, and Parallel Server. Alan has a Bachelor of Science degree in Operations Research from the Cornell University School of Engineering. He lives in Massachusetts with his wife and two daughters and can be reached at albeau_mosql@yahoo.com.

    View Alan Beaulieu's full profile page.

Colophon

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.

  • Book cover of Mastering Oracle SQL