Introduction To Oracle SQL and PL - Syllabus
Introduction To Oracle SQL and PL - Syllabus
Syllabus
2001-2014 by Donald K. Burleson
Day 1: Introduction to SQL & SQL*Plus
LESSON 1 1: Review of Basic SQL and history of SQL:
SQL constructs:
Select
Project
Join
Explain plan
Oracle autotrace
How to read an execution plan
Sort-merge joins
Nested Loop joins
Hash joins
STAR joins
Bitmap joins
Exercise Change table join techniques & evaluate performance
Equi-join
Exercise write an equi-join
Outer join
Exercise write an outer join
Hiding joins by creating views
Exercise create a view of a join
LESSON 2 5 :Subqueries
Correlated subquery
Non-correlated subqueries
Between operator
IN and NOT In operators
Sub-queries
EXISTS clause
Using wildcards in queries (LIKE operator)
Purpose of statistics
Types of statistics (table, column, system)
Histogram statistics
Dynamic sampling
using dbms_stats
Exporting/importing statistics
Statistics management
Exercise gather system stats
1 3: Aggregation IN sql
Aggregation in SQL
Count(*)
Sum
Avg
Min and max
Using the group by clause
DAY 4
PL/SQL Section
1. Basics of PL/SQL
PL/SQL architecture
PL/SQL and SQL*Plus
PL/SQL Basics
Introduction to PL/SQL
2. PL/SQL structures
Simple blocks
Control structures
PL/SQL records
Recognizing the Basic PL/SQL Block and Its Sections
Describing the Significance of Variables in PL/SQL
Distinguishing Between PL/SQL and Non-PL/SQL Variables
Declaring Variables and Constants
Executing a PL/SQL Block
Defining exceptions
Using the when others clause
Ensuring complete error checking
Passing error messages to calling routine
5. Cursors in PL/SQL
Cursor basics
Using a cursor for a multi-row SQL query
6. Iteration in PL/SQL
For loop
While loop
DAY 5
7. PL/SQL tables
Bulk queries
Bulk DML (forall statement)
Using cursor attributes