Book description
If you write programs to run against an Oracle database, you spend a lot of time and mental energy writing queries to return the data your programs need. Knowledge of SQL, and particularly of Oracle's implementation of SQL, is the key to writing good queries in a timely manner. In this book, the authors share their knowledge of Oracle SQL, and show you many creative techniques that you can use to advantage in your own applications. This book shows you how to:
Leverage Oracle's vast library of built-in SQL functions
Query time-based data, and write joins involving date and time ranges
Use Oracle SQL's hierarchical query features to deal with data best represented in a tree format
Use DECODE and CASE to implement conditional logic in your queries
Use Oracle's new, analytic SQL features to write ranking queries, lag and lead queries, windowing queries, and more
Join data from two or more tables using the newly supported SQL92 join syntax
In addition, you'll see how SQL can best be integrated with PL/SQL. You'll also learn various best practices to help you write SQL queries that perform efficiently. Precious few books on the market today go beyond discussing syntax and the barest rudiments of using Oracle SQL. This book changes that, showing you how to creatively leverage the full power of SQL to write queries in an Oracle environment.
Publisher resources
Table of contents
-
Mastering Oracle SQL
- Preface
- 1. Introduction to SQL
- 2. The WHERE Clause
- 3. Joins
- 4. Group Operations
- 5. Subqueries
- 6. Handling Temporal Data
- 7. Set Operations
- 8. Hierarchical Queries
- 9. DECODE and CASE
- 10. Partitions, Objects, and Collections
- 11. PL/SQL
- 12. Advanced Group Operations
- 13. Advanced Analytic SQL
- 14. SQL Best Practices
- Index
- Colophon
Product information
- Title: Mastering Oracle SQL
- Author(s):
- Release date: April 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596001292
You might also like
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 2nd Edition
Through a series of recent breakthroughs, deep learning has boosted the entire field of machine learning. …
book
Practical Statistics for Data Scientists, 2nd Edition
Statistical methods are a key part of data science, yet few data scientists have formal statistical …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
SQL and Relational Theory, 2nd Edition
SQL is full of difficulties and traps for the unwary. You can avoid them if you …