Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $31.99
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
44Activity

Table Of Contents

Preface
Chapter 1
CHAPTER 1
Introduction to SQL
What Is SQL?
A Brief History of SQL
A Simple Database
DML Statements
The SELECT Statement
The INSERT Statement
The DELETE Statement
The UPDATE Statement
The MERGE Statement
So Why Are There 17 More Chapters?
The WHERE Clause
Life Without WHERE
WHERE to the Rescue
WHERE Clause Evaluation
Conditions and Expressions
Equality/Inequality Conditions
Membership Conditions
Matching Conditions
Placement of Join Conditions
WHERE to Go from Here
Chapter 3
CHAPTER 3
Joins
What Is a Join Query?
Join Conditions
Types of Joins
Equi-Joins Versus Non-Equi-Joins
Joins and Subqueries
DML Statements on a Join View
DESC USER_UPDATABLE_COLUMNS
Chapter 4
CHAPTER 4
Group Operations
Aggregate Functions
The GROUP BY Clause
The HAVING Clause
Nested Group Operations
Chapter 5
CHAPTER 5
Subqueries
What Is a Subquery?
Noncorrelated Subqueries
Multiple-Column Subqueries
Correlated Subqueries
Inline Views
Hierarchical queries
Subquery Case Study: The Top N Performers
Chapter 6
CHAPTER 6
Handling Temporal Data
Time Zones
Temporal Data Types in Oracle
The TIMESTAMP Data Types
Literals of Temporal Types
YEAR TO MONTH interval literals
DAY TO SECOND interval literals
Getting Temporal Data In and Out of a Database
Date and Time Formats
Printing Numeric Amounts in Words
Manipulating Temporal Data
Subtraction
Rounding and Truncating Dates
Chapter 7
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
CHAPTER 8
Hierarchical Queries
Representing Hierarchical Information
Complex Hierarchy Operations
Restrictions on Hierarchical Queries
Enhancements in Oracle Database 10g
Chapter 9
CHAPTER 9
DECODE and CASE
DECODE, NULLIF, NVL, and NVL2
The Case for CASE
Searched CASE Expressions
Simple CASE Expressions
DECODE and CASE Examples
Selective Function Execution
Chapter 10
CHAPTER 10
Partitioning
Partitioning Concepts
Partitioning Tables
Partitioning Indexes
Partitioning Methods
Specifying Partitions
Partition Pruning
Chapter 11
CHAPTER 11
PL/SQL
What Is PL/SQL?
Procedures, Functions, and Packages
Calling Stored Functions from Queries
Avoiding Table Joins
Deterministic Functions
Restrictions on Calling PL/SQL from SQL
Stored Functions in DML Statements
The SQL Inside Your PL/SQL
Objects and Collections
Object Types
Collection Types
Collection Instantiation
Querying Collections
Collection Unnesting
Collection Functions
Comparing Collections
Manipulating Collections
Multilevel Collections
Chapter 13
CHAPTER 13
Advanced Group Operations
Multiple Summary Levels
Ranking Functions
Windowing Functions
Reporting Functions
RATIO_TO_REPORT
Summary
Chapter 15
CHAPTER 15
SQL Best Practices
Know When to Use Specific Constructs
Avoid Unnecessary Parsing
Consider Literal SQL for Decision-Support Systems
What Is XML?
Storing XML Data
Generating XML Documents
Chapter 17
CHAPTER 17
Regular Expressions
Elementary Regular Expression Syntax
Advanced Function Options
Advanced Regular Expression Syntax
Model Queries
Basic Elements of a Model Query
Cell References
Symbolic Cell References
Positional Cell References
Rules
Creating and Updating Cells
Iterative Models
An early-termination condition
Reference Models
APPENDIX
Advantages of the New Join Syntax
Index
0 of .
Results for:
No results containing your search query
P. 1
Mastering Oracle SQL

Mastering Oracle SQL

Ratings:

3.9

(5)
|Views: 4,592 |Likes:

The vast majority of Oracle SQL books discuss some syntax, provide the barest rudiments of using Oracle SQL, and perhaps include a few simple examples. It might be enough to pass a survey course, or give you some buzz words to drop in conversation with real Oracle DBAs. But if you use Oracle SQL on a regular basis, you want much more. You want to access the full power of SQL to write queries in an Oracle environment. You want a solid understanding of what's possible with Oracle SQL, creative techniques for writing effective and accurate queries, and the practical, hands-on information that leads to true mastery of the language. Simply put, you want useful, expert best practices that can be put to work immediately, not just non-vendor specific overview or theory.Updated to cover the latest version of Oracle, Oracle 10g, this edition of the highly regarded Mastering Oracle SQL has a stronger focus on technique and on Oracle's implementation of SQL than any other book on the market. It covers Oracle s vast library of built-in functions, the full range of Oracle SQL query-writing features, regular expression support, new aggregate and analytic functions, subqueries in the SELECT and WITH clauses, multiset union operators, enhanced support for hierarchical queries: leaf and loop detection, and the CONNECT_BY_ROOT operator, new partitioning methods (some introduced in Oracle9i Release 2), and the native XML datatype, XMLType.Mastering Oracle SQL, 2nd Edition fills the gap between the sometimes spotty vendor documentation, and other books on SQL that just don't explore the full depth of what is possible with Oracle-specific SQL. 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.

The vast majority of Oracle SQL books discuss some syntax, provide the barest rudiments of using Oracle SQL, and perhaps include a few simple examples. It might be enough to pass a survey course, or give you some buzz words to drop in conversation with real Oracle DBAs. But if you use Oracle SQL on a regular basis, you want much more. You want to access the full power of SQL to write queries in an Oracle environment. You want a solid understanding of what's possible with Oracle SQL, creative techniques for writing effective and accurate queries, and the practical, hands-on information that leads to true mastery of the language. Simply put, you want useful, expert best practices that can be put to work immediately, not just non-vendor specific overview or theory.Updated to cover the latest version of Oracle, Oracle 10g, this edition of the highly regarded Mastering Oracle SQL has a stronger focus on technique and on Oracle's implementation of SQL than any other book on the market. It covers Oracle s vast library of built-in functions, the full range of Oracle SQL query-writing features, regular expression support, new aggregate and analytic functions, subqueries in the SELECT and WITH clauses, multiset union operators, enhanced support for hierarchical queries: leaf and loop detection, and the CONNECT_BY_ROOT operator, new partitioning methods (some introduced in Oracle9i Release 2), and the native XML datatype, XMLType.Mastering Oracle SQL, 2nd Edition fills the gap between the sometimes spotty vendor documentation, and other books on SQL that just don't explore the full depth of what is possible with Oracle-specific SQL. 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.

More info:

Publish date: Jun 22, 2004
Added to Scribd: May 16, 2009
Copyright:Traditional Copyright: All rights reservedISBN:9780596517472
List Price: $31.99 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

07/31/2014

496

9780596517472

$31.99

USD

pdf

original

You're Reading a Free Preview
Pages 20 to 204 are not shown in this preview.
You're Reading a Free Preview
Pages 224 to 314 are not shown in this preview.
You're Reading a Free Preview
Pages 334 to 335 are not shown in this preview.
You're Reading a Free Preview
Pages 355 to 391 are not shown in this preview.
You're Reading a Free Preview
Pages 411 to 496 are not shown in this preview.

Activity (44)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Cipto Hersetio liked this
kmufasa liked this
Cipto Hersetio liked this
rajamain333 liked this
kesava2010 liked this
Govind Gautam liked this
Raju Katta liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->