Skip Ribbon Commands
Skip to main content

ORA10g008 - Oracle Database 10g: Introduction to SQL I

Price:

Duration: 3 Days

Audience:

Level:

Technology:

Delivery Method:

Software Assurance Value:

Microsoft CPE:

Course Information

Course Description

​This course is a common starting point in the Sideris Oracle database curriculum for administrators, developers and business users. The objective of this course is to provide an introduction to the SQL database language within the context of an Oracle database.

Course Objectives

​Specific subject areas to be explored and objectives to be reached are:

  • A summation of relational database principles and an introduction to the Oracle relational database server.
  • Using the iSQL*Plus web-based database interface and other traditional interfaces.
  • Writing simple SQL queries and moderately complex SQL queries using various join techniques.
  • Summarizing, grouping and sorting data.
  • Advanced query techniques such as correlated subqueries.
  • Developing simple SQL*Plus reports.
  • Creating and maintaining database tables.
  • Taking advantage of new features such as the use of regular expressions.
  • Moving beyond basic table definitions, consideration of defining the full range of database objects, such as advanced table definitions, indexes, sequences, views and others.
  • Understanding basic database security and object privileges.
  • Using the powerful set of built-in SQL functions.
  • Protecting the database and extending the basic data model using declarative constraints.
  • Performing advanced SQL queries such as grouping and cube operations and SQL99 join syntax.
  • Developing complex SQL*Plus reports and using SQL*Plus scripts.

Course Audience

​The target audience for this course is all Oracle professionals, both business and systems professionals. Among the specific groups for whom this course will be helpful are:

  • End-Users and Analysts
  • Application designers and developers
  • Database administrators

Course Outline

RELATIONAL DATABASES & SQL
• ABOUT RELATIONAL DATABASES
• ELEMENTS OF SQL
USING SQL*PLUS
• ABOUT SQL*PLUS
• USING THE MS WINDOWS SQL*PLUS TOOL
• USING THE ISQL*PLUS WEB TOOL
• ENTERING COMMANDS & SYNTAX
BUILDING A SELECT STATEMENT
• ABOUT THE SELECT STATEMENT
• SELECTING COLUMNS
• USING ALIAS NAMES
BUILDING A WHERE CLAUSE
• ABOUT LOGICAL OPERATORS
• EQUALITY OPERATOR
• BOOLEAN OPERATORS
• NULL & BETWEEN OPERATORS
• FINDING TEXT STRINGS
• IN OPERATOR
ORDERING THE RESULT TABLE
• ABOUT THE ORDER BY CLAUSE
• MULTIPLE COLUMN SORTS
• SPECIFYING THE SORT SEQUENCE
• ABOUT NULL VALUES WITHIN SORTS
• USING COLUMN ALIASES
PSEUDO COLUMNS & FUNCTIONS
• ABOUT PSEUDO COLUMNS & FUNCTIONS
• USING ROWID
• USING ROWNUM
• USING THE FUNCTIONS
• USING THE DUAL TABLE
• SESSIONTIMEZONE FUNCTION
JOINING TABLES
• ABOUT JOINS
• INNER JOIN
• REFLEXIVE JOIN
• NON-KEY JOIN
• OUTER JOIN
SQL99 JOIN TECHNIQUES
• CROSS JOINS
• NATURAL JOINS
• INNER JOINS
• OUTER JOINS
• ANTI JOINS
• USING NAMED SUBQUERIES

ENHANCING GROUPS WITH ROLLUP & CUBE

USING THE CASE EXPRESSION

SQL FUNCTIONS: CHARACTER

• WHAT ARE THE SQL FUNCTIONS?
• CHARACTER FUNCTIONS
• About GREATEST(), LEAST()

SQL FUNCTIONS: NUMERIC

SQL FUNCTIONS: DATE

• DATE FORMAT FUNCTIONS
• DATE ARITHMETIC FUNCTIONS
USING SET OPERATORS
• ABOUT THE SET OPERATORS
• SET OPERATOR EXAMPLES
SUMMARY FUNCTIONS
• ABOUT SUMMARY FUNCTIONS
• SUMMARY FUNCTIONS WITH DISTINCT
USING SUBQUERIES
• ABOUT SUBQUERIES
• STANDARD SUBQUERIES
• CORRELATED SUBQUERIES
CREATING & SELECTING GROUPS
• ABOUT SUMMARY GROUPS
• FINDING GROUPS WITHIN THE BASE TABLES
• SELECTING DATA FROM THE BASE TABLES
• SELECTING GROUPS FROM THE RESULT TABLE
SQL*PLUS COMMANDS
• ABOUT SQL*PLUS COMMANDS
• MORE ABOUT SCRIPT FILES
• INVOKING OPERATING SYSTEM COMMANDS
• SAVING SESSION OUTPUT
BUILD SIMPLE SQL*PLUS REPORTS
• ABOUT THE SQL*PLUS REPORT FEATURES
• SESSION OUTPUT WITH SET
• FORMAT COLUMN OUTPUT WITH COLUMN
• DEFINING REPORT BREAKS WITH BREAK
• PRODUCE SUBTOTALS WITH COMPUTE
SQL DATA MANIPULATION LANGUAGE
• ABOUT SQL DML
• ABOUT THE INSERT STATEMENT
• ABOUT THE DELETE STATEMENT
• ABOUT THE UPDATE STATEMENT
• ABOUT TRANSACTIONS
• TRUNCATE TABLE
• COMPLEX TABLE REFERENCES

Course Prerequisites

​No mandatory prerequisites exist for this course. The following prerequisites are recommended:

  • A-162, Relational Database Design Concepts

Suggested Next Course

  • ora10g009, Oracle Database 10g: Introduction to SQL II (2 days)
  • ora10g002, Oracle Database 10g: Architecture For Developers (2 days)
  • ora10g003, Oracle Database 10g: SQL Tuning (5 days)
  • ora10g101, Oracle Database 10g: Program With PL/SQL (5 days)
Course Schedule
This course is not scheduled yet.