0845 450 6120

Oracle SQL

The Oracle SQL course is designed to give delegates practical experience in writing SQL statements and scripts using Oracle SQL.   The basic SELECT statement, the use of SQL functions and the basic table and view handling statements are introduced.

The delegate will learn and acquire skills as follows:

  • Creating SQL statements to query database tables
  • Using standard aggregate functions and related SELECT statement clauses
  • Joining Tables
  • Using basic subqueries and the set operators
  • Using numeric, character and date functions
  • Using conversion and other miscellaneous functions
  • Using SQL parameters
  • Using complex subqueries
  • Creating and altering tables and views
  • Inserting, updating and deleting rows in database tables
  • Managing sequences and synonyms

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 course, although an understanding of databases and exposure to information technology in general would be useful.

Follow-On Courses

  • Oracle PL/SQL
  • Oracle SQL Advanced
  • Oracle Database 11g Release 2 DBA - Part I
  • Oracle 12c SQL Performance Tuning
  • Oracle Database 12cR2 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

Course Contents - DAY 1

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

Session 6: JOINING TABLES

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

Session 7: BASIC SUBQUERIES AND SET OPERATORS

  • Overview of Subqueries
  • Basic Subqueries
  • Set Operators
  • The Union, Intersect and Minus Operators

Course Contents - DAY 2

Session 8: 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 9: CONVERSION AND MISCELLANEOUS FUNCTIONS

  • Conversion Functions
  • The NVL and NVL2 Functions
  • The DECODE Function
  • CASE Expressions
  • The COALESCE and NULLIF Functions

Session 10: SQL PARAMETERS

  • Command Line Substitution Parameters
  • The Accept Command
  • The Define and Undefine Commands

Session 11: COMPLEX SUBQUERIES

  • Subqueries Usage
  • In-Line Views
  • Top-N Queries
  • Subqueries with Joins
  • Multi Column Subqueries
  • Correlated Subqueries
  • Subquery Rules
  • Using the ANY, ALL and SOME Operators

Course Contents - DAY 3

Session 12: 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 13: MANAGING TABLES

  • Creating Tables
  • Specifying Constraints
  • Altering Tables, Columns and Constraints
  • Dropping Tables, Columns and Constraints
  • Recovering Dropped Tables
  • Copying Tables

Session 14: MANAGING INDEXES AND VIEWS

  • Creating Indexes
  • Dropping Indexes
  • Listing Indexes
  • Creating and Using Views
  • Dropping Views
  • Listing Views

Session 15: MANAGING SEQUENCES AND SYNONYMS

  • Create a Sequence
  • View Sequence Details
  • Create a Synonym
  • List Synonyms

Exams & Certification

Examinations

Together with the Oracle SQL Advanced course, the Oracle SQL  course also covers the major topics required for the following Oracle examination:

  • Oracle Database SQL Fundamentals 1Z0-071

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.

Privacy Notice

In order to provide you with the service requested we will need to retain and use your contact information in accordance with our Privacy Notice. If you choose to provide us with this information you explicitly consent to us using the information as necessary to provide the request service to you. If you do not agree please do not proceed to request the service from us.

Marketing Permissions

Would you like to receive our newsletter and other information on products and services which we think will be of interest to you by email. We will always treat your information with care and in accordance with our Privacy Notice. You are free to withdraw this permission at any time.

 

Virtual Classroom

Virtual classrooms provide all the benefits of attending a classroom course without the need to arrange travel and accomodation. Please note that virtual courses are attended in real-time, commencing on a specified date.

Virtual Course Dates

Our Customers Include