Oracle SQL by Example, 3/e

Alice Rischert

  • 出版商: Prentice Hall
  • 出版日期: 2004-06-27
  • 售價: $2,310
  • 貴賓價: 9.5$2,195
  • 語言: 英文
  • 頁數: 960
  • 裝訂: Paperback
  • ISBN: 0131451316
  • ISBN-13: 9780131451315
  • 相關分類: OracleSQL
  • 已過版




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!


Table of Contents:

(NOTE: Each chapter concludes with Test Your Thinking.)



About the Author.


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.