Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Toc

Toc

Ratings: (0)|Views: 13|Likes:
Published by Makokhan

More info:

Published by: Makokhan on Jun 11, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

06/16/2009

pdf

text

original

 
PrefaceICourse Introduction
Course Objectives I-2Course Agenda I-3Human Resources (
HR
) Schema I-5
1Understanding the Oracle Database Environment
Objectives 1-2Understanding the Oracle Database Environment 1-3Getting to Know the Oracle Database 1-5Demystifying Grid Computing 1-7Exploring the Architectural Components 1-8Understanding the Oracle Instance 1-12Connecting to an Instance 1-14Processing a SQL Statement 1-16Understanding Data Flow During SQL Statement Processing 1-19Using Bind Variables 1-21Understanding Read Consistency 1-23Summary 1-26Practice 1: Overview 1-27
2Working with
SQL*Plus
Objectives 2-2Differentiating Between SQL Statements and
i
SQL*Plus Commands 2-3Introducing
i
SQL*Plus 2-5Logging In to
i
SQL*Plus 2-6Understanding the
i
SQL*Plus Environment 2-7Interacting with Script Files 2-8Configuring Settings 2-10Other Development Tools 2-12Summary 2-13Practice 2: Overview 2-14
3Getting Started with Oracle SQL
Objectives 3-2Retrieving Data by Using the
SELECT
Statement 3-3Restricting Output by Using the
WHERE
Clause 3-5Defining Null 3-7Using Pseudocolumns 3-8Manipulating Data Items by Using Operators 3-11Calculating Using Arithmetic Expressions 3-13Manipulating Strings by Using the Concatenation Operator 3-14Combining Results by Using Set Operators 3-15Using the
UNION
Operator 3-16
Contents
iii
 
Using Expressions 3-18Conditional Querying Using the
CASE
Expression 3-19Using Conditions 3-21Understanding Functions 3-22Two Types of SQL Functions 3-23Manipulating Data Items Using Single-Row Functions 3-24Using Numeric Functions 3-26Using the
ROUND
and
TRUNC
Functions 3-27Practice 3: Overview of Part 1 3-29Understanding Data Types 3-30Using Datetime Data Types 3-33Using
INTERVAL
Data Types 3-37Converting Between Data Types 3-40Converting Data Types Explicitly 3-42Displaying a Date in a Specific Format 3-43Date Format Model Elements 3-44Using the
TO_CHAR 
Function with Dates and Numbers 3-47Using the
TO_NUMBER 
and
TO_DATE
Functions 3-50Summary 3-51Practice 3: Overview of Part 2 3-52
4Combining Tables by Using Advanced Queries 4-1
Objectives 4-2Understanding Subqueries 4-3Using a Subquery 4-5Using Multiple-Column Subqueries 4-6Comparing Columns 4-7Comparing Using Pairwise Comparison Subquery 4-8Comparing Using Nonpairwise Comparison Subqueries 4-9Row-By-Row Processing Using Correlated Subqueries 4-11Updating Rows Using Correlated
UPDATE
Operations 4-14Deleting Rows Using Correlated
DELETE
Operations 4-16Top-N Analysis 4-17Example of Top-N Analysis 4-19Joining Tables Using Oracle Syntax 4-20Retrieving Records with Equijoins 4-21Qualifying Ambiguous Column Names 4-22Understanding Nonequijoins 4-24Using Outer Joins 4-25Joining a Table to Itself 4-27Comparing ANSI SQL Join Syntax with Oracle SQL Join Syntax 4-28Using a Subquery in the
FROM
Clause 4-29Using the Subquery Factoring Clause 4-30Subquery Factoring Clause: Example 4-31Retrieving Data Hierarchically 4-33Sample Data from the
EMPLOYEES
Table 4-34Natural Tree Structure 4-35Hierarchical Queries 4-36
iv
 
“Walking” the Tree 4-38Walking the Tree: From the Bottom Up 4-40Walking the Tree: From the Top Down 4-41Ranking Rows with the
LEVEL
Pseudocolumn 4-42Formatting Hierarchical Reports Using
LEVEL
and
LPAD
4-44Pruning Branches 4-46Summary 4-47Practice 4: Overview 4-48
5Creating and Managing Tables
Objectives 5-2Displaying Table Structure 5-3Referencing Another User’s Tables 5-5The
CREATE TABLE
Statement 5-6Creating a Table Using a Subquery 5-9Altering Table Structure 5-11Adding a Column 5-12Modifying and Dropping Columns 5-13Marking a Column as Unused 5-15Guaranteeing Data Integrity 5-17Understanding Constraints 5-19Defining Constraints 5-20Guidelines for Defining Constraints 5-23Adding a Constraint 5-25Disabling and Enabling Constraints 5-26Deferring Constraint Checking 5-29Changing the Enforcement of Constraints 5-30Enforcing Primary and Unique Key Constraints 5-31Maintaining Tables in a Foreign Key Relationship 5-32Dropping a Constraint 5-34Cascading Constraints 5-35Renaming a Table 5-37Truncating a Table 5-38Dropping a Table 5-39Adding Comments to a Table 5-40Understanding the Types of Tables in the Oracle Database 5-41Querying the Data Dictionary 5-43Viewing Constraints 5-44Summary 5-45Practice 5: Overview 5-50
6Creating and Managing Other Oracle Database Objects 6-1
Objectives 6-2Understanding Database Objects 6-3Understanding Indexes 6-4Creating an Index 6-6Confirming Indexes 6-9Creating Function-Based Indexes 6-10Creating an Index While Creating a Table 6-12Removing an Index 6-14
v

You're Reading a Free Preview

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