You are on page 1of 13

ORACLE 11G COURSE OUTLINE

Oracle Database 11g: Introduction to SQL

COURSE DESCRIPTION:
In this course students learn the concepts of relational databases. This course provides the

essential SQL skills that allow developers to write queries against single and multiple tables,

manipulate data in tables, and create database objects. Students learn to control privileges at

the object and system level. This course covers creating indexes and constraints, and altering

existing schema objects. Students also learn how to create and query external tables.

Students learn to use the advanced features of SQL in order to query and manipulate data

within the database, use the dictionary views to retrieve metadata and create reports about

their schema objects. Students also learn some of the date-time functions available in the

Oracle Database. This course discusses how to use the regular expression support in SQL. In

this course, students use Oracle SQL Developer/Toad as the main development tool. SQL*Plus

is introduced as an optional development tool.

BENEFITS OF ATTENDANCE:
Upon completion of this course, students will be able to:

 Retrieve row and column data from tables with the SELECT statement

 Create reports of sorted and restricted data

 Employ SQL functions to generate and retrieve customized data

 Display data from multiple tables using the ANSI SQL 99 JOIN syntax

 Identify the major structural components of the Oracle Database 11g

 Create reports of aggregated data

 Write SELECT statements that include queries

 Run data manipulation statements (DML) to update data in the Oracle Database 11g

 Create tables to store data

 Utilize views to display and retrieve data

 Control database access to specific objects

 Manage schema objects

 Manage objects with data dictionary views

 Write multiple-column sub-queries

 Use scalar and correlated sub-queries

 Use the regular expression support in SQL


 Retrieve row and column data from tables with the SELECT statement

 Create reports of sorted and restricted data

 Employ SQL functions to generate and retrieve customized data

 Display data from multiple tables using the ANSI SQL 99 JOIN syntax

 Identify the major structural components of the Oracle Database 11g

 Create reports of aggregated data

 Write SELECT statements that include queries

 Run data manipulation statements (DML) to update data in the Oracle Database 11g

 Create tables to store data

 Utilize views to display and retrieve data

 Control database access to specific objects

 Manage schema objects

 Manage objects with data dictionary views

 Write multiple-column sub-queries

 Use scalar and correlated sub-queries

 Use the regular expression support in SQL

COURSE OUTLINE:

 INTRODUCING ORACLE DATABASE 11G

1. List the features of Oracle Database 11g

2. Discuss the basic design, theoretical and physical aspects of a relational

database

3. Categorize the different types of SQL statements

4. Describe the data set used by the course

5. Log onto the database using the SQL Developer/Toad/SQL*Plus environment

6. Save queries to files and use script files in SQL Developer/Toad


 RETRIEVING DATA USING THE SQL SELECT STATEMENT

1. List the capabilities of SQL SELECT statements

2. Generate a report of data from the output of a basic SELECT statement

3. Select All Columns

4. Select Specific Columns

5. Use Column Heading Defaults

6. Use Arithmetic Operators

7. Understand Operator Precedence

8. Learn the DESCRIBE command to display the table structure


 RESTRICTING AND SORTING DATA

1. Write queries that contain a WHERE clause to limit the output retrieved

2. List the comparison operators and logical operators that are used in a WHERE

clause

3. Describe the rules of precedence for comparison and logical operators

4. Use character string literals in the WHERE clause

5. Write queries that contain an ORDER BY clause sort the output of a SELECT

statement

6. Sort output in descending and ascending order


 USING SINGLE-ROW FUNCTIONS TO CUSTOMIZE OUTPUT

1. Describe the differences between single row and multiple row functions

2. Manipulate strings with character function in the SELECT and WHERE clauses

3. Manipulate numbers with the ROUND, TRUNC and MOD functions

4. Perform arithmetic with date data

5. Manipulate dates with the date functions


 USING CONVERSION FUNCTIONS AND CONDITIONAL EXPRESSIONS

1. Describe implicit and explicit data type conversion

2. Use the TO_CHAR, TO_NUMBER, and TO_DATE conversion functions

3. Nest multiple functions

4. Apply the NVL, NULLIF, and COALESCE functions to data

5. Use conditional IF THEN ELSE logic in a SELECT statement


 REPORTING AGGREGATED DATA USING THE GROUP FUNCTIONS

1. Use the aggregation functions in SELECT statements to produce meaningful

reports

2. Create queries that divide the data in groups by using the GROUP BY clause

3. Create queries that exclude groups of date by using the HAVING clause
 DISPLAYING DATA FROM MULTIPLE TABLES

1. Write SELECT statements to access data from more than one table

2. View data that generally does not meet a join condition by using outer joins

3. Join a table by using a self join


 USING SUB-QUERIES TO SOLVE QUERIES

1. Describe the types of problem that sub-queries can solve

2. Define sub-queries

3. List the types of sub-queries

4. Write single-row and multiple-row sub-queries


 USING THE SET OPERATORS

1. Describe the SET operators

2. Use a SET operator to combine multiple queries into a single query

3. Control the order of rows returned when using the SET operators
 MANIPULATING DATA

1. Describe each DML statement

2. Insert rows into a table with the INSERT statement

3. Use the UPDATE statement to change rows in a table

4. Delete rows from a table with the DELETE statement

5. Save and discard changes with the COMMIT and ROLLBACK statements

6. Explain read consistency


 USING DDL STATEMENTS TO CREATE AND MANAGE TABLES

1. Categorize the main database objects

2. Review the table structure

3. List the data types available for columns

4. Create a simple table

5. Decipher how constraints can be created at table creation

6. Describe how schema objects work


 CREATING OTHER SCHEMA OBJECTS

1. Create a simple and complex view

2. Retrieve data from views

3. Create, maintain, and use sequences

4. Create and maintain indexes

5. Create private and public synonyms


 CONTROLLING USER ACCESS

1. Differentiate system privileges from object privileges

2. Grant privileges on tables

3. View privileges in the data dictionary

4. Grant roles

5. Distinguish between privileges and roles


 MANAGING SCHEMA OBJECTS

1. Add constraints

2. Create indexes

3. Create indexes using the CREATE TABLE statement

4. Create function-based indexes

5. Drop columns and set column UNUSED

6. Perform FLASHBACK operations

7. Create and use external tables


 MANAGING OBJECTS WITH DATA DICTIONARY VIEWS

1. Explain the data dictionary

2. Find table information

3. Report on column information

4. View constraint information

5. Find view information

6. Verify sequence information

7. Understand synonyms

8. Add comments
 MANIPULATING LARGE DATA SETS

1. Manipulate data using sub-queries

2. Describe the features of multi-table inserts

3. Use the different types of multi-table inserts

4. Merge rows in a table

5. Track the changes to data over a period of time


 MANAGING DATA IN DIFFERENT TIME ZONES

1. Use data types similar to DATE that store fractional seconds and track time

zones

2. Use data types that store the difference between two date-time values

3. Practice using the multiple data-time functions for globalize applications


 RETRIEVING DATA USING SUB-QUERIES

1. Write a multiple-column sub-query

2. Use scalar sub-queries in SQL

3. Solve problems with correlated sub-queries

4. Update and delete rows using correlated sub-queries

5. Use the EXISTS and NOT EXISTS operators

6. Use the WITH clause


 REGULAR EXPRESSION SUPPORT

1. List the benefits of using regular expressions

2. Use regular expressions to search for, match, and replace strings

Oracle Database 11g: Administration I

COURSE DESCRIPTION:

The overall objective of this course is to allow the student to gain the skills necessary for day-today
administration of an Oracle database. This course is the starting point for Oracle database
administrators and also sets the foundation for advanced administrator training and certification .

BENEFITS OF ATTENDANCE:
Upon completion of this course, students will be able to:

 Perform software installation and the creation of new databases.

 Have an in-depth exploration of the database architecture, including memory, process and data
Structures and the management of those structures.

 Perform Management of database files.

 Create and utilize specialized facilities intended to maximize performance of enterprise-scale


transactional applications, such as the shared SQL and PL/SQL cache, the result cache, the
database buffer cache, and other similar components.

 Perform management of security policies and procedures, including administration of user


accounts roles, privileges and profiles.

 Perform utilization of advanced self-tuning and self-management capabilities, including the use of
Oracle-Managed Files, database Advisors and other components of the Management Framework.
 Performance monitoring, problem troubleshooting, and resolving lock and conflict issues.

 Using the Oracle Enterprise Manager and SQL interfaces for administration tasks.

 Control over database support services, including the Database Control, Oracle Net and others.

 Have a primer on backup and recovery structures and strategies.

 Define operating system-specific considerations for various platforms, especially Linux and MS
Windows Server

COURSE OUTLINE:
 Enterprise Edition Installation
Identify System Requirements
The Optimal Flexible Architecture (OFA)
Oracle_base
Oracle_home
Configure the Installation Environment
Enterprise Edition Installation
DBCA

 The Administrator Interface


Enterprise Manager Tour
Using EM SQL Worksheet
Duties of a Database Administrator
Exploring the Oracle Database Architecture: General

 The Oracle Enterprise Architecture

 Exploring the Oracle Database Architecture: Instance Memory


What Is An Oracle Database Instance?
More About the System Global Area (sga)
About the PGA
Managing Memory

 Exploring the Oracle Database Architecture: Instance Processes


Instance Background Processes
SQL Execution Processes
 Creating An Oracle Database
Create a New Database
Configure An Existing Database
Drop a Database
Manage DBCA Templates
Manually Create a Database

 Managing the Database Instance


Configuring a Linux Environment
Starting & Stopping Database Control
Starting & Stopping the Database Listener
Starting & Stopping the Database Instance
More About the Database Files

 Manage Database Storage Structures: Tablespaces


About Tablespaces
Tablespace Management
Drop Tablespace
Alter Tablespace

 Manage Database Storage Structures: Advanced Tablespaces


More About Temporary Tablespaces
About Temporary Tablespace Groups
More About Permanent Tablespaces
More About Bigfile Tablespaces
More About the Sysaux Tablespace

 Manage Database Storage Structures


Data Files & Temp Files
Managing Data Files
Managing Temp Files
Enable Oracle-managed Files (OMF)

 Managing Undo Data


About Undo Space Management
Configure Automatic Undo Management
Undo_management
Undo_tablespace
Undo_retention
Guarantee Undo Retention
Monitor Undo Space
Use the Undo Advisor


Network Environment: Oracle Shared Servers
Shared Servers Architecture
Configure Shared Servers
Monitor Shared Servers
V$shared_server
V$shared_server_monitor
V$session
V$circuit
V$dispatcher & V$dispatcher_config
V$queue
 Security: Implementing Database Security
Database System Privileges
Database Object Privileges
Administrator Auditing of Database Activity
Enhanced Default Security Settings

 Security: Administering User Security


Create & Manage Database Accounts
Grant & Revoke Database Privileges
Resource Limits Via Profiles
Alter Profile
Drop Profile
Password Management Via Profiles
About Role-based Security
With Admin Option
Alter User...default Role
Set Role
Enhanced Default Security Settings

 Moving Data: SQL Loader


Loader Concepts
Control File Options
Load Methods
Using the EM Interface

 Moving Data: Export & Import


Manage Directory Objects
About the Data Pump Architecture
Data Pump Export
Data Pump Import
Data Pump Data Dictionary Views
Using the EM Interface

 Database Maintenance & Performance Management


The Management & Advisory Framework
Manage the Automatic Workload Repository
Automatic Database Diagnostic Monitor
Use Metrics & Alert Thresholds
Automatic Maintenance Tasks

 Managing Concurrency & Locks


About Latches & Locks
Manage & Monitor Latches
Manage & Monitor Locks
V$lock
V$locked_object
V$session
V$session_wait
Dba_blockers & Dba_waiters
Dba_dml_locks & Dba_ddl_locks
Dml_locks
Backup & Recovery Concepts & Configuration
About Database Backup & Recovery Structures
Managing Redo Data
Managing Archival Data
Automatic Crash Recovery
Creating a Basic Backup Strategy

Oracle Database 11g: Administration II

COURSE DESCRIPTION:

The primary objective of this course is to consider advanced subjects and techniques pertaining to the
SQL database language, based upon the latest features available with the Oracle release. Even
professionals experienced in other implementations of the industry-standard SQL language will benefit
from the advanced and Oracle-specific features of SQL discussed in this course. This enhanced and
expanded revision includes many new and expanded conceptual subjects.

BENEFITS OF ATTENDANCE:
Upon completion of this course, students will be able to:

 Learn to use the SQL99 join syntax and learn about the full range of join operations available,
such as natural join, inner join, cross join, outer joins and others.

 Perform advanced SQL queries using techniques such as CASE structures, rollup and cube
operations.

 Moving beyond basic table definitions, learn to define the full range of database objects, such
as advanced table definitions and the creation of indexes, sequences, views and others.

 Use the powerful set of built-in SQL functions. These functions provide sophisticated
manipulation of character, numeric and date data elements.

 Taking advantage of the latest features found within the Oracle release, such as the handling
and tolerating DML errors without application interruption, newly added functions, and other
topics.

 Obtain database object metadata from the data dictionary.


 Understand basic database security and object privileges.

 Protect database integrity and extend the conceptual data model using declarative constraints.

 Using SQL Developer and other available SQL interfaces.

 Develop complex SQL*Plus reports and reusable SQL*Plus scripts, as well as control the
SQL*Plus environment.

COURSE OUTLINE:

 SQL99 Join Techniques


Cross Joins
Natural Joins
Inner Joins
Outer Joins
Anti Joins
Using Named Sub queries

 Enhancing Groups With Rollup & Cube


Using Rollup
Using Cube

 Using the Case Expression

 Sql Functions: Character


String Formatting Functions
Ascii Codes Functions
Pad & Trim Functions
String Manipulation Functions
String Comparison Functions
Phonetic Search Functions

 Sql Functions: Numeric


About the Numeric Functions
Null Value Functions

 Sql Functions: Date


Date Format Functions
Date Arithmetic Functions
 Database Objects: Relational Views
About Database Objects
About Relational Views
Updating View Data
Maintaining View Definitions
Alter View
Drop View

 Database Objects: Data Dictionary Storage


About the Data Dictionary
Object-specific Dictionary Views
User_updatable_columns
Understanding the Data Dictionary Structure

 Database Objects: Indexes


About Indexes
Use B-tree Indexes

 Database Objects: Other Objects


More About Creating Tables
About Sequences
Alter Sequence & Drop Sequence
Alter Sequence
Drop Sequence
About Synonyms
Drop Synonym
Create Schema Authorization

 Database Objects: Security


User Passwords
Object Security

 Data Integrity Using Constraints


About Constraints
Not Null Constraint
Check Constraint
Unique Constraint
Primary Key Constraint
References Constraint
Defining Constraints On Existing Tables

 Managing Constraint Definitions


Renaming & Dropping Constraints
Enabling & Disabling Constraints
Deferred Enforcement
Set Constraints
Handling Constraint Exceptions
Constraints With Views
Data Dictionary Storage
 Advanced SQL*Plus Reports
Break
Compute
Column
Ttitle & Btitle

 Optional - Advanced SQL*Plus Reports


Report-1
Report-2
Solutions
Report-1
Report-2

 Optional - Building SQL*Plus Scripts


Using SQL*Plus Variables
Define & Undefine
Accept
Prompt
Pause

 Optional - SQL*Plus Session Control


Controlling System Variables
Set
Show

You might also like