Oracle SQL Course Overview
This course is designed to give delegates practical experience in
writing SQL statements and scripts using Oracle SQL*Plus. The
basic SELECT statement, the use of SQL functions and the basic
table and view handling statements are introduced.
Skills Gained
The delegates will practise:
* Creating SQL statements to query database
tables
* Using standard aggregate functions and related
SELECT statement clauses
* Implementing extended SQL functions
* Joining Tables
* Using subqueries
* Creating and altering tables and views
* Inserting, updating and deleting rows in
database tables
Who will the Course Benefit?
Anyone who needs to use and understand SQL to query and update an
Oracle database.
There are no formal pre-requisites, although an understanding of
databases and exposure to information technology in general would
be useful.
Course Objectives
To provide the skills needed to query and update data held in an
Oracle Relational Database.
Examinations
The course covers the major topics required for the following
Oracle examination 1Z0-051: Oracle Database 11g: SQL Fundamentals I
(currently on Beta test). Together with the SQL Advanced
course, this course also covers the major topics required for the
following Oracle examinations: 1Z0-007: Introduction to Oracle9i
SQL and 1Z0-047: Oracle Database SQL Expert.
Before taking any exam, ensure you have the recommended
experience. The Oracle website lists all exam requirements
and these are updated regularly.
Exams are not included as part of the course.
Requirements
An understanding of IT is required.
Oracle SQL Training Course
Course Contents - DAY 1
Session 1: RELATIONAL DATABASE CONCEPTS
* What is an Oracle Database
* Relational Database Structures
* Tables, Rows and Columns
* Indexes, Primary Keys and Foreign Keys
* Supported Datatypes
* The Data Dictionary
Session 2: USING SQL*PLUS
* What is SQL*Plus
* Getting Started
* Entering and Executing SQL Statements
* Editing SQL Statements
* Creating, Editing and Executing SQL Files
Session 3: USING SQL DEVELOPER
* What is Oracle SQL Developer
* Starting SQL Developer
* Configure a Connection
* Navigation Tabs
* SQL Worksheet
Session 4: RETRIEVING DATA WITH THE SELECT
STATEMENT
* The SELECT Statement
* The SELECT and FROM Clauses
* Conditions and the WHERE Clause
* Other Conditional Operators
* Logical Operators
* The ORDER BY Clause
* Column Aliases
* Arithmetic Expressions
* Precedence of Operators
Session 5: AGGREGATE FUNCTIONS
* Overview of Built In Aggregate Functions
* The GROUP BY Clause
* The HAVING Clause
Oracle SQL Training Course
Course Contents - DAY 2
Session 6: JOINING TABLES
* Overview of Table Joins
* Inner Joins
* Table Aliases
* Outer Joins
* Self Joins
* ANSI Standard Joins
* Set Operators
Session 7: NUMERIC, CHARACTER AND DATE
FUNCTIONS
* Function Types
* Using the Table dual to try out Functions
* Numeric Functions
* Character Functions
* String Concatenation
* Date Arithmetic and Date Functions
Session 8: CONVERSION AND MISCELLANEOUS
FUNCTIONS
* Conversion Functions
* The NVL and NVL2 Functions
* The DECODE Function
* CASE Expressions
* The COALESCE and NULLIF Functions
Session 9: SQL*PLUS PARAMETERS
* Command Line Substitution Parameters
* The Accept Command
* The Define and Undefine Commands
Session 10: USING SUBQUERIES
* Overview of Subqueries
* In-Line Views
* Top-N Queries
* Complex Subqueries
* Multi Column Subqueries
* Correlated Subqueries
* Subquery Rules
* Using the ANY, ALL and SOME Operators
Oracle SQL Training Course
Course Contents - DAY 3
Session 11: MANAGING DATA
* Inserting Rows
* Updating Rows
* Deleting Rows
* Verifying Updates
* Transaction Control
* Commit and Rollback
* Savepoints
* Commits and Constraints
* Amending Data in SQL Developer
Session 12: MANAGING TABLES
* Creating Tables
* Specifying Constraints
* Altering Tables, Columns and Constraints
* Dropping Tables, Columns and Constraints
* Copying Tables
Session 13: MANAGING INDEXES AND VIEWS
* Creating Indexes
* Dropping Indexes
* Listing Indexes
* Creating and Using Views
* Dropping Views
* Listing Views
Session 14: MANAGING SEQUENCES AND SYNONYMS
* Create a Sequence
* View Sequence Details
* Create a Synonym
* List Synonyms