Register your product to gain access to bonus material or receive a coupon.
Provides students with an understandable introduction to the Oracle Forms. Ex.___
Provides students with detailed step-by-step instructions on how to use the product. Ex.___
Draws students in and reinforces the material so they can more easily understand the subject. Ex.___
Enables students to test their understanding and solidify skills learned. Ex.___
Provides students with necessary files and answers to Test Your Thinking questions. Ex.___
Focuses students' attention on special advice or guidelines. Ex.___
Provides students with helpful time- and trouble-saving tips and tricks. Ex.___
Provides students with precautions and information designed to avoid computer troubles. Ex.___
Directs students to the book's companion Web site for reference. Ex.___
Foreword by Peter Koletzke
Technical Advisor: Douglas Scherer
The Hands-On Oracle SQL Course That's Fast, Easy, & Web-charged!
FREE Access to Interactive Oracle SQL Training Web Site
New to Oracle development? This integrated book-and-Web learning solution will help you master Oracle SQL fast! Learn every Oracle SQL skill you need, through hands-on, real-world labs, exercises, projects, and our great Web-based training site. Master entity-relationship diagrams, SQL*Plus, SELECT statements, Boolean operations, functions, joins, NULLS, subqueries, relational operators, data and database object manipulation, and the Oracle dictionary.
Totally integrated with a FREE, state-of-the-art Oracle SQL learning Web site!
Every Prentice Hall Interactive Workbook is fully integrated with its own exclusive Web site, giving you all this and more:
Dozens of exercises cover the real-world tasks that matter most!
100s of self-review questions and answers make sure you understand!
Master the skills you need! Alex Morrison and Alice Rischert are experienced Oracle SQL instructors and database consultants who have taught hundreds of students how to effectively write Oracle SQL. Benefit from their combined Oracle knowledge of over 20 years. The Prentice-Hall Oracle Interactive Workbook series is an integrated learning system that's proven to work!
(NOTE: All chapters conclude with Test Your Thinking.)
1. SQL and Data.
Data, Databases, and the Definition of SQL. A Case Study Schema Diagram. Referential Integrity and Table Relationships. 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.
Character Functions. Number Functions.
Converting from One Datatype to Another. Applying Oracle's Date Format Models. Performing Date and Time Math. The NVL and DECODE Functions.
Aggregate Functions. The GROUP BY and HAVING Clauses.
The Two Table Join. Joining More Than Two Tables.
Simple Subqueries. Correlated Subqueries. ANY, COME, and ALL Operators in Subqueries.
The Power of UNION and UNION ALL. The MINUS and INTERSECT Set Operators.
Outer Joins. Self-Joins.
Manipulaitng Data and Transaction Control.
Creating and Dropping Tables. Altering Tables and Manipulating Constraints.
Creating and Modifying Views. Indexes. Sequences.
The Oracle Data Dictionary Views. Dynamic. SQL Scripts.
Users, Privileges, Roles, and Synonyms.
DECODE Magic and In-line Views. Hierarchical Queries.
The Oracle Optimizer and Writing Effective SQL Statement.
The SQL language is the de facto standard language for relational databases. Oracle's database server is the leading relational database on the market today. This book is intended for anyone requiring a background in Oracle's implementation of the SQL language.
The book's exercises build knowledge step by step by introducing you to relational database concepts, the SQL*Plus environment, and the SQL language. Learning involves not just reading about a subject, but also doing it. The book's focus is to give the reader examples of how the SQL language is commonly used, with many exercises reinforcing the learning experience.
Unlike other SQL books, this book is not a reference book. Rather, its emphasis is on the exercises and the learning-by-doing experience. The best way to learn the SQL language is to perform the exercises and compare your answers with the sample answers and accompanying explanations.
How This Book Is OrganizedEach chapter of the book is divided into labs covering a particular topic. The objective of each lab is defined at its beginning, with brief examples that introduce the reader to the covered concepts.
Following the lab's introductory examples are exercises that are the heart of the lab which reinforce and expand the reader's knowledge of the subject.
Each exercise consists of a series of steps to follow to perform specific tasks, or particular questions that are designed to help you discover the important aspects of the SQL language. The answers to these questions are given at the end of the exercises, along with more in-depth discussion of the concepts explored.
After you perform the exercises and compare the answers with the sample queries, answers, and explanations, the lab ends with multiple-choice Self-Review questions. These are meant to test that you have understood the material covered in the lab. The answers to these questions appear in Appendix A. There are additional Self-Review questions at this book's companion Web site, found at http://www.phptr.com/phptrinteractive/workbooks/index.html
At the end of each chapter, the Test Your Thinking section reinforces the topics learned in labs, and solidifies your skills. The answers to these questions can also be found on the companion Web site for this book.
ChapterLabExercisesExercise Answers with detailed discussionSelf-Review QuestionsLabExercisesExercise Answers with detailed discussionSelf-Review QuestionsTest Your Thinking Questions
The chapters should be completed in sequence because concepts covered in earlier chapters are required for the completion of exercises in later chapters.
About the Companion Web SiteThe companion Web site is located at
http://www.phptr.com/morrison
Here you will find three very important things:
All of the exercises and questions are based on a sample schema called STUDENT. The files required to install this STUDENT schema and the installation instructions can be downloaded from the Web site.
The answers to the Test Your Thinking sections are also found at the Web site. These answers will be textual or in the form of downloadable files.
The Web site will have many other features, such as additional Self-Review questions, a message board, and periodically updated information about the book.
Visit the companion Web site and download the required files before starting the labs and exercises.
What You'll NeedTo complete the exercises you need the following:
Oracle8 is Oracle's relational database software and its flagship product. You can use either Oracle Personal Edition or Oracle Enterprise Edition. Oracle 8.1.5 Enterprise Edition was used to create the exercises for this book, but subsequent versions should be compatible.
You will need access to the Internet and the WWW so that you can access the companion Web site.
http://www.phptr.com/morrison
Here you will find files that are necessary to install the sample STUDENT schema.
Throughout this workbook, you access data from a sample schema called STUDENT, which contains information about a computer education program. The schema was designed to record data about instructors, courses, students, and their respective enrollments and grades.
After you download the installation files to transfer the schema into your Oracle database, you will be able to follow the exercises in the workbook. In Chapter 1, "SQL and Data," you are introduced to the relational concepts necessary to read the schema diagram. Appendix C, "Student Database Schema," shows you a graphical representation of the schema and useful descriptive information about each table and column.