COURSE DESCRIPTION:
This course is designed to give users an understanding of Oracle SQL and Oracle PL/SQL languages using Oracle’s SQL*Plus and iSQL*Plus tools. The course covers SQL commands for DML, DDL, Query, and Transaction Control operations. Students are also introduced to procedural programming using PL/SQL. The course topics are applicable to all versions of Oracle through Oracle 10g.
WHO SHOULD ATTEND:
Application designers and developers, database administrators and operators, and end users should attend this course.
BENEFITS OF ATTENDANCE:
Upon completion of this course, students will be able to:
• Explain the difference between SQL, PL/SQL and SQL*PLUS.
• Write basic SQL queries to retrieve desired data.
• Use DML statements (insert, update, and delete).
• Use DDL statements (create, alter, and drop).
• Use transaction control statements to commit, rollback, and create savepoints.
• Write advanced queries.
• Write scripts to do queries and display SQL*PLUS reports.
• Control access to your database objects.
• Write a PL/SQL block using all elements of block structure.
• Write PL/SQL statements using lexical units, declared variables, and assignment statements.
• Use control structures to loop, branch, and jump.
• Use PL/SQL named exceptions and user-defined exceptions.
• Use explicit cursors.
PREREQUISITES:
There are no prerequisites for this course.
COURSE OUTLINE:
• CHAPTER 1: DATABASE DESIGN
1. Database Models
2. Beginnings
3. Some Introductory Terminology
4. Codd's 12 Rules
5. Normalization
6. First Normal Form
7. Higher Order Normal Forms
• CHAPTER 2: ORACLE STANDARD INTERFACES
1. SQL
2. SQL*Plus
3. Oracle Architecture
4. Interfaces to Oracle
5. Command Line Interface
6. Viewing a Sample Table
7. The Graphical User Interface
8. The SQL Buffer
9. The Web-Based Interface
10. Describe
• CHAPTER 3: THE SAMPLE DATABASE
1. The Entity Relationship Model
2. Entity Relationship Diagrams
3. The Sample Database
4. ER Diagram for Sample Database
5. Creating the Sample Data
6. Viewing Sample Data
7. Data Types of the Sample Data
• CHAPTER 4: DATA DEFINITION LANGUAGE
1. Categories of SQL Statements
2. Oracle Datatypes
3. The CREATE Statement
4. The DROP Command
5. The ALTER Command
6. Integrity Constraints
7. Entity Integrity Constraints
8. Referential Integrity Constraints
9. Modifying Table to Use Constraints
10. Checking Constraints
11. The Data Dictionary
• CHAPTER 5: DATA MANIPULATION LANGUAGE
1. DML Statements
2. The SELECT Statement
3. The INSERT Statement
4. The DELETE Statement
5. The UPDATE Statement
6. More SQL*Plus Commands
• CHAPTER 6: TRANSACTION CONTROL
1. Transactions
2. Command Classification
3. Savepoints
4. The SET TRANSACTION Command
• CHAPTER 7: SQL OPERATORS
1. Simple Selects
2. Comparison Operators
3. IN and NOT IN Operators
4. BETWEEN Operator
5. The LIKE Operator
6. Logical Operators
7. IS NULL and IS NOT NULL
8. ANY
9. ALL
• CHAPTER 8: SQL FUNCTIONS
1. Introduction
2. The DISTINCT Keyword
3. Aliases
4. Miscellaneous Functions
5. Mathematical Functions
6. String Functions
7. Date Functions
8. Conversion Functions
• CHAPTER 9: JOINING TABLES
1. Joins
2. Cartesian Product
3. Inner Joins
4. Equi-Join
• CHAPTER 10: SET OPERATORS
1. Introduction
2. Selection Criteria
3. Union
4. Union All
5. Intersect
6. Minus
• CHAPTER 11: SQL SUBQUERIES
1. Introduction
2. Using a Subquery with a DML Statement
3. Typical Subqueries
4. Subquery Operators
5. Standard vs. Correlated Subqueries
6. Correlated Subquery Example
• CHAPTER 12: GROUPS
1. SQL Statements
2. GROUP BY Clause
3. HAVING Clause
4. Order of a SELECT Statement
• CHAPTER 13: MORE DATABASE OBJECTS
1. More Database Objects
• CHAPTER 14: REPORTS
1. Report Features
• CHAPTER 15: INTRODUCTION
1. SQL vs. PL/SQL
2. A Few Simple Examples
3. Saving Procedures
4. A More Complete Picture
5. Comments
6. Variable Substitution
7. Simple Exception Handling
8. Advantages of PL/SQL
9. Assignments
• CHAPTER 16: DECLARATIONS AND DATA TYPES
1. Declarations
2. Standard Data Types
3. Initialization
4. Variable Names
• CHAPTER 17: LANGUAGE COMPONENTS
1. Introduction
2. Assignments
3. Decision Making Statements
4. Simple Loops
5. Loops - for
• CHAPTER 18: CURSORS
1. Introduction
2. Cursor Manipulation
• CHAPTER 19: EXCEPTIONS
1. Errors in Programs
2. Run Time Exceptions
• CHAPTER 20: FUNCTIONS AND PROCEDURES
1. Introduction
2. Creating a Procedure
3. Example Procedure
4. Using Parameters
5. Functions
6. Procedures and Exceptions