Synopses & Reviews
“The book ...has enough depth for even a seasoned professional to pick up enough tips to pay back the price of the book many times over.”
–Dr. Paul Dorsey, President Dulcian, Inc., and President, New York Oracle Users Group
“Students find Oracle SQL by Example to be extremely helpful not only to their coursework but also in preparing them for future careers as Oracle DBAs and developers. The layout of the text is conducive to the learning process. It introduces a concept and then reinforces that concept with an exercise.”
–Betsy Jenaway, Coordinator, Malcomb Operations, and Senior Lecturer College of Management, Lawrence Technological University, Southfield, MI
The World's #1 Hands-On Oracle SQL Workbook–Fully Updated for Oracle 11g
Crafted for hands-on learning, tested in classrooms worldwide, and reorganized to deliver more skills even faster, this bookilluminates every Oracle SQL technique you need to know. Thoroughly updated for Oracle 11g, it focuses on the tasks that matter most, from simple queries to advanced data warehousing, and adds detailed coverage of Oracle’s powerful new SQL Developer tool. Step by step, hundreds of guided lab exercises will systematically strengthen your expertise in writing effective, high-performance SQL. You’ll acquire a powerful arsenal of useful skills–and an extraordinary library of real-world solutions.
- 100% focused on Oracle SQL for Oracle 11g, today's #1 database platform–not “generic” SQL!
- Understand the role of SQL, and key concepts such as data normalization and schema.
- Master core SQL techniques, including SELECT, WHERE, ORDER BY, and more.
- Make the most of functions: character, number, date, conversion, aggregate, and more.
- Build effective queries, subqueries, and joins–including complex joins.
- Work with tables, indexes, sequences, views, the Data Dictionary, and regular expressions.
- Secure databases using Oracle users, privileges, roles, and synonyms.
- Explore Oracle 11g’s advanced data warehousing features.
- Optimize Oracle SQL query performance.
- Avoid common pitfalls and solve common mistakes.
- For every database developer, administrator, designer, or architect, regardless of experience!
Foreword
Preface
Chapter 1: SQL and Data
Chapter 2: SQL: The Basics
Chapter 3: The WHERE and ORDER BY Clauses
Chapter 4: Character, Number, and Miscellaneous Functions
Chapter 5: Date and Conversion Functions
Chapter 6: Aggregate Functions, GROUP BY, and HAVING Clauses
Chapter 7: Equijoins
Chapter 8: Subqueries
Chapter 9: Set Operators
Chapter 10: Complex Joins
Chapter 11: Insert, Update, and Delete
Chapter 12: Create, Alter, and Drop Tables
Chapter 13: Indexes, Sequences, and Views
Chapter 14: The Data Dictionary, Scripting and Reporting
Chapter 15: Security
Chapter 16: Regular Expressions and Hierarchical Queries
Chapter 17: Exploring Data Warehousing Features
Chapter 18: SQL Optimization
Appendix A: Answers to Quiz Questions
Appendix B: SQL Formatting Guide
Appendix C: SQL*Plus Command Reference
Appendix D: STUDENT Database Schema
Appendix E: Table and Column Descriptions
Appendix F: Additional Example Tables
Appendix G: Navigating through the Oracle Documentation
Appendix H: Resources
Appendix I: Oracle Data Types
ONLINE ONLY
Web Site
Workshop Solutions
Scripts
Read Me Instructions
Synopsis
Oracle SQL by Example, Third Edition is a convenient, quick way to master Oracle SQL. This unique integrated book-and-Web learning solution teaches all the SQL skills you will need to succeed in an Oracle environment. Through hands-on, real-world labs, exercises, projects, and a superb Web-based training site, the book teaches administrators and programemrs alike the core skills required for their jobs. Coverage includes every key Oracle SQL concept, including: entity-relationship diagrams, the SQL*Plus environment, SELECT and other statements, Boolean operations, joins, aggregate and not-aggregate functions. Each chapter contains review exercises that help the reader master the important skills before they move on.
Synopsis
The book ... has enough depth for even a seasoned professional to pick up enough tips to pay back the price of the book many times over.
—Dr. Paul Dorsey, President Dulcian, Inc., and President, New York Oracle Users Group.
Students find Oracle SQL by Example to be extremely helpful not only to their coursework but also in preparing them for future careers as Oracle DBAs and developers. The layout of the text is conducive to the learning process. It introduces a concept and then reinforces that concept with an exercise.
—Betsy Jenaway, Coordinator, Malcomb Operations, and Senior Lecturer College of Management, Lawrence Technological University, Southfield, MI.
The world's #1 hands-on Oracle SQL workbook ... fully updated for Oracle 10g
Crafted for hands-on learning and tested in classrooms worldwide this book illuminates in-depth every Oracle SQL technique you'll need. From the simplest query fundamentals through the newest regular expression database enhancements, you will focus on the tasks that matter most. Hundreds of guided lab exercises will systematically strengthen your expertise in writing effective, high-performance SQL. Along the way, you will acquire an arsenal of useful Oracle SQL knowledge and techniques: an extraordinary library of solutions for your real-world challenges with Oracle SQL.
- Creating and using tables, views, indexes, and sequences
- Working in SQL*Plus and iSQL*Plus environments
- Oracle functions in depth—especially number, character, date, timestamp, interval, time zone, aggregate, and analytical functions
- All types of joins, including equijoins, outer joins, self joins and ANSI join syntax options
- Every type of subquery, including correlated and scalar subqueries, set operators, hierarchical queries, flashback queries, data dictionary, object-relational features, regular expressions, and more
- Common pitfalls to avoid, and solutions for common mistakes
- Practical performance, security, and architectural solutions
- Insights, tips, and tricks-of-the-trade from an experienced Oracle professional
- For every database developer, administrator, designer or architect, regardless of experience!
Synopsis
“The book...has enough depth for even a seasoned professional to pick up enough tips to pay back the price of the book
many times over.”
–Dr. Paul Dorsey, President, Dulcian, Inc., Oracle Magazine PL/SQL Developer of the Year 2007, and President
Emeritus, New York Oracle Users Group
“This is a fascinating guide into the world of Oracle SQL with an abundance of well-collected examples. Without a doubt, this
book is helpful to beginners and experts alike who seek alternative ways to resolve advanced scenarios.”–Oleg Voskoboynikov, Ph.D., Database Architect
The World’s #1 Hands-On Oracle SQL Workbook–Fully Updated for Oracle 11g
Crafted for hands-on learning and tested in classrooms worldwide, this book illuminates in-depth every Oracle SQL technique you’ll need. From the simplest query fundamentals to regular expressions and with newly added coverage of Oracle’s powerful new SQL Developer tool, you will focus on the tasks that matter most. Hundreds of step-by-step, guided lab exercises will systematically strengthen your expertise in writing effective, high-performance SQL. Along the way, you’ll acquire a powerful arsenal of useful skills–and an extraordinary library of solutions for your real-world challenges with Oracle SQL.
Coverage includes
- 100% focused on Oracle SQL for Oracle 11g, today’s #1 database platform–not “generic” SQL!
- Master all core SQL techniques including every type of join such as equijoins, self joins, and outer joins
- Understand Oracle functions in depth, especially character, number, date, timestamp, interval, conversion, aggregate, regular expressions, analytical, and more
- Practice all types of subqueries, such as correlated and scalar subqueries, and learn about set operators and hierarchical queries
- Build effective queries and learn fundamental Oracle SQL Developer and SQL*Plus skills
- Make the most of the Data Dictionary and create tables, views, indexes, and sequences
- Secure databases using Oracle privileges, roles, and synonyms
- Explore Oracle 11g’s advanced data warehousing features
- Learn many practical tips about performance optimization, security, and architectural solutions
- Avoid common pitfalls and understand and solve common mistakes
- For every database developer, administrator, designer, or architect, regardless of experience!
About the Author
Alice Rischert, formerly chair of Columbia University’s Database Application Development and Design program, has taught classes in Oracle SQL, PL/SQL, and database design to hundreds of students. Ms. Rischert’s wide-ranging technology experience encompasses systems integration, database architecture, and project management for a number of companies in the United States, Europe, and Asia. Ms. Rischert has presented on SQL and PL/SQL topics at Oracle conferences and has worked with Oracle since version 5.
Table of Contents
(NOTE:
Each chapter concludes with Test Your Thinking.)
Foreword.
Acknowledgments.
About the Author.
Introduction.
1. SQL and Data.
Data, Databases, and the Definition of sql. Table Relationships. The Student Schema Diagram.
2. SQL: The Basics.
The SQL*Plus Environment. The Anatomy of a SELECT Statement. Editing a SQL Statement. The WHERE Clause: Comparison and Logical Operators. The ORDER BY Clause.
3. Character, Number, and Miscellaneous Functions.
Character Functions. Number Functions. Miscellaneous Single-Row Functions.
4. Date and Conversion Functions.
Applying Oracle's Date Format Models. Performing Date and Time Math. Understanding Timestamp and Time Zone Datatypes. Performing Calculations with the Interval Datatypes. Converting from One Datatype to Another.
5. Aggregate Functions, Group By, and Having.
Aggregate Functions. The GROUP BY and HAVING Clauses.
6. Equijoins.
The Two-Table Join. Joining Three or More Tables.
7. Subqueries.
Simple Subqueries. Correlated Subqueries. Inline Views and Scalar Subquery Expressions . ANY, SOME, and ALL Operators in Subqueries.
8. Set Operators.
The Power of UNION and UNION ALL. The MINUS and INTERSECT Set Operators.
9. Complex Joins.
Outer Joins. Self-Joins.
10. Insert, Update, and Delete.
Creating Data and Transaction Control. Updating and Deleting Data.
11. Create, Alter, and Drop Tables.
Creating and Dropping Tables. Altering Tables and Manipulating Constraints.
12. Views, Indexes, and Sequences.
Creating and Modifying Views. Indexes. Sequences.
13. The Data Dictionary and Advanced SQL*Plus Commands.
The Oracle Data Dictionary Views. Advanced SQL*Plus Commands.
14. Security.
Users, Privileges, Roles, and Synonyms.
15. Regular Expressions and Hierarchical Queries.
Regular Expressions. Hierarchical Queries.
16. Exploring Data Warehousing Features.
-Advanced SQL Concepts, Analytical Functions, and the with Clause. ROLLUP and CUBE Operators.
17. SQL Optimization.
-The Oracle Optimizer and Writing Effective SQL Statements.
Appendix A: Answers to Self-Review Questions.
Appendix B: SQL Formatting Guide.
Appendix C: SQL*Plus Command Reference.
Appendix D: Student Database Schema.
Appendix E: Table and Column Descriptions.
Appendix F: Additional Example Tables.
Appendix G: Navigating through the Oracle Documentation.
Appendix H: Resources.
Appendix I: Oracle Datatypes.
Index.