Oracle10g SQL Fundamentals

advertisement
Oracle10g SQL Fundamentals
Effectively interact with an Oracle10g object
relational database.
Hands-on 4-day course
Course Description
This is a comprehensive course covering
SQL and Oracle’s interactive query tool. The
essential concepts of object and relational
databases are also discussed. Develop
skills necessary to effectively interact with an
Oracle10g database. Participants will
develop queries using feature
enhancements of the ANSI standards.
Topics in this course: ANSI SQL commands,
natural joins, case expressions, ROLLUP,
and advanced query techniques. Exercises
and lab sessions reinforce the learning
objectives and provide participants the
opportunity to gain practical hands-on
experience.
Prerequisites
An understanding of computer concepts and
experience with a graphical user interface
(GUI) is essential.
Course Content
Understand Relational Databases
• Relational Database Concepts
• Relational Terminology
• Oracle Relational Database Management
System
• Advanced RDBMS Tools
• SQL, iSQL*Plus, and PL/SQL
• Oracle Architecture Overview
850-944-7579
Query Fundamentals
• Using SQL*Plus
• SELECT Command
• SELECT DISTINCT
• Display Tables Structures
• SQL/SQL*Plus Command Summary
Conditions, Expressions and Operators
• The WHERE Clause
• Comparison Operators
• SQL/Logical/Negating Operators
GLOBAL BUSINESS SOLUTIONS, INC.
www.gbsi.com
FAX: 850-944-3232 2400 W. Michigan Ave., Ste. 4 Pensacola, FL 32526
Single Row Functions
• The Concatenation Operator
• Literal Character String
• Managing Null Values
• Character Functions
• Number Functions
• CASE Expression
• DECODE Command
• Nesting Functions
Date Functions
• Date Functions
• Conversion Functions
• TO_CHAR Function
• TO_DATE Function
• SYSDATE Function
Group Functions
• GROUP Function
• GROUP BY Clause
• The Where Clause
• The HAVING Clause
• ROLLUP Command
• CUBE Command
• Grouping Sets
Manage and Format Output
• The ORDER BY Clause
• BREAK/COMPUTE Command
• Configure the Session Environment
• Add Titles
• Calculate Totals
• Creating Simple Reports
Manage Script Files
• Create Script Files
• Execute / Edit Script Files
• Call an External Editor
• SPOOL Output
• Interact with the Operating System
850-944-7579
Subqueries
• Processing Subqueries
• Single Row Subqueries
• Errors with Subqueries
• Multiple Row Subqueries
• HAVING Clause Subquery
• FROM Clause Subquery
• Correlated Subquery
Working with Multiple Tables
• Join Types
• Natural Join
• Using Table Aliases
• Non-Equijoin
• Cartesian Product
• Outer Join
• Recursive Join
• Set Operators
Customize Queries Using Variables
• Substitution Variables
• Single Ampersand Substitution Variables
• Defining User Variables
• Passing Values into Script Files
• Accept Session Variables
Oracle Data Dictionary
• Data Dictionary Views
• Display Dictionary Views
Manipulate Table Data
• UPDATE Command
• INSERT Command
• Multi-table Insert
• DELETE Command
• MERGE Command
• COMMIT Command
• ROLLBACK Command
• SAVEPOINT Command
• SET TRANSACTION Command
GLOBAL BUSINESS SOLUTIONS, INC.
www.gbsi.com
FAX: 850-944-3232 2400 W. Michigan Ave., Ste. 4 Pensacola, FL 32526
Create Views
• CREATE VIEW Command
• CREATE VIEW with Aliases
• CREATE VIEW from Multiple Tables
• WITH CHECK OPTION
• WITH READ ONLY
• DECRIBE VIEW
• Oracle Data Dictionary Views
Creating Sequences
• CREATE SEQUENCE Command
• Reference Sequence Numbers
• ALTER SEQUENCE Command
• DROP SEQUENCE Command
• Oracle Data Dictionary Views
Creating Synonyms
• CREATE SYNONYM Command
• DESCRIBE Command
• DROP SYNONYM Command
• Oracle Data Dictionary Views
PL/SQL Overview
• What is PL/SQL?
• PL/SQL Block Structure
• Benefits of PL/SQL
• Declaration Section
• Executable Section
• Exception Section
850-944-7579
GLOBAL BUSINESS SOLUTIONS, INC.
www.gbsi.com
FAX: 850-944-3232 2400 W. Michigan Ave., Ste. 4 Pensacola, FL 32526
Download