0845 450 6120

Oracle SQL Fundamentals

The Oracle SQL Fundamentals course is designed to give delegates practical experience in writing Oracle SQL statements and scripts.  A wide range of SQL functions and data manipulation statements are introduced.

The delegate will learn and acquire skills as follows:

  • Creating Oracle 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
  • Retrieving Data Using Correlated Subqueries, In-Line Views and Multi-Column Subqueries
  • Using the WITH Clause
  • Inserting and Updating Rows Using Complex Subqueries
  • Creating Hierarchical Queries
  • Using ROLLUP, CUBE and GROUPING SETS Group By Enhancements
  • Implementing the GROUPING and GROUPING_ID Functions
  • Managing Large Data Sets
  • Inserting Data Conditionally and Unconditionally
  • Merging Rows in a Table
  • Creating TIMESTAMP and INTERVAL Datatypes
  • Using TIMESTAMP, TIMEZONE and INTERVAL Functions and Literals
  • Using Regular Expressions and Implementing Related Functions
  • Managing Objects with the Data Dictionary
  • Managing Schema Objects
  • Performing Flashback Operations
  • Creating and Using External Tables
  • Controlling User Access to Database Objects

Who will the Course Benefit?

Anyone who needs to use and understand Oracle SQL to query and update data in an Oracle database.

Reset

Learning Objectives

Course Objectives

To provide the skills needed to query and update data held in an Oracle Relational Database.

Pre-Requisites

Requirements

There are no formal pre-requisites for the Oracle SQL Fundamentals course, although an understanding of databases and exposure to information technology in general would be useful.

Follow-On Courses

  • Oracle PL/SQL
  • Oracle Database 11g Release 2 DBA - Part I
  • Oracle 11g Release 2 SQL Performance Tuning
  • Oracle Database 12c Administration
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Course Content

Day 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

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
  • The SQL*Plus Command Line History
  • Editing SQL Statements
  • The login.sql File
  • Creating, Editing and Executing SQL Files
  • The SQLcl Utility

Session 3: USING SQL DEVELOPER

  • What is Oracle SQL Developer
  • Starting SQL Developer
  • Configure a Connection
  • Navigation Tabs
  • SQL Worksheet
  • Query Builder

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
  • Markup CSV

Session 5: AGGREGATE FUNCTIONS

  • Overview of Built In Aggregate Functions
  • The GROUP BY Clause
  • The HAVING Clause

Day 2

Session 6: JOINING TABLES

  • Overview of Table Joins
  • Inner Joins
  • Table Aliases
  • Outer Joins
  • Self Joins
  • ANSI Standard Joins

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 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

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

Day 4

Session 15: RETRIEVE DATA USING SUBQUERIES

  • ANY, ALL or SOME Operators
  • Correlated Subqueries
  • In-Line Views
  • The Exists Operator
  • The WITH Clause
  • Multi-Column Subqueries
  • Insert and Update Using a Query
  • Correlated Update and Delete

Session 16: HIERARCHICAL QUERIES

  • Hierarchical data
  • The START WITH and CONNECT BY clauses
  • The LEVEL pseudo-column
  • Sequencing the output
  • Eliminating nodes and branches
  • The LEAG and LAG Functions
  • The LISTAGG Function

Session 17: ENHANCED GROUPING FEATURES

  • Review of basic grouping concepts
  • The ROLLUP and CUBE extensions
  • The GROUPING SETS extension
  • Using the GROUPING and GROUPING_ID functions

Session 18: MANAGE LARGE DATA SETS

  • Multi-table Inserts
  • Conditional and Unconditional Inserts
  • Merging Data into a Table
  • Table and View Based Merge
  • A Sub Query Based Merge

Session 19: FLASHBACK TECHNOLOGY

  • Flashback Query
  • The AS Clause
  • Flashback Table
  • Flashback Drop

Day 5

Session 20: DATE, TIME AND TIMEZONE SUPPORT

  • Date, Timestamp and Interval datatypes
  • Handling dates and times
  • Handling intervals
  • Date, timestamp and interval functions and literals
  • Related NLS parameters

Session 21: REGULAR EXPRESSION SUPPORT

  • Regular Expression Notation
  • Character matching
  • Repetition operators
  • Sub expression grouping
  • Regular expression functions

Session 22: MANAGE OBJECTS WITH THE DATA DICTIONARY

  • The Data Dictionary
  • Useful Data Dictionary Tables
  • Using the Data Dictionary

Session 23: MANAGE SCHEMA OBJECTS

  • Column Operations
  • Constraint Operations
  • Creating and Dropping Indexes
  • B-Tree Indexes
  • Function Based Indexes
  • Descending Indexes
  • Creating and Using External Tables

Session 24: ACCESS CONTROL

  • System Privileges and Roles
  • Create Users
  • Alter User Details
  • Grant and Revoke Object Privileges

Exams & Certification

Examinations

The Oracle SQL Fundamentals course covers the major topics required for the following Oracle examination:

  • Oracle Database SQL Expert 1Z0-047

Before taking this exam, ensure you have the recommended experience.  The Oracle website lists all exam requirements and these are updated regularly.

This exam is not included as part of the course.

One Month
Two Months
Three Months
More than Three Months
PRINCE2 Foundation & Practitioner
MSP Foundation & Practitioner
APMP Certificate
ITIL Foundation
Scrum in One Day
Certified ScrumMaster
ISTQB Software Test Foundation
Microsoft Project
BCS Business Analysis Practice
Other - Please Specify Below

Our Customers Include