Oracle Database Querying Advanced

Duration: 2 Days

Objectives

This course is aimed at Oracle database developers, administrators and analysts who need to take the basics of Oracle SQL Data Manipulation Language (DML) statements to the next level. The aim of the course is to show the more advanced use of SELECT, UPDATE and DELETE statements providing delegates with the necessary knowledge and hands on experience to construct complex queries to satisfy complex information extraction requirements. The course focuses on real world business needs and shows how to make the extensive Oracle library of functions work together to manipulate and extract data values. It also explores the many different ways of retrieving information from multiple tables from simple multi-table SELECT statements through to complex correlated sub-queries as well as introducing the many ways of analysing and processing data through methods such as grouping of data and implementing computed columns. The course will do more than just teach each topic as an isolated subject; it will show delegates how to integrate all these query methods and more to help satisfy their business information extraction needs. The course is appropriate to users of Oracle 9i, Oracle 10g and Oracle 11g.

Pre-requisites

Delegates should have Oracle SQL language experience to the level of our Querying Oracle Databases Fundamentals course.

Course includes

A comprehensive set of reference notes covering course topics, follow-up telephone support and, for training on Transmedia premises, lunch and refreshments.

Course outline

Introduction

  • Review of SELECT Statement Basics
  • Nesting Functions
  • CASE Statement

Multiple Table Selects

  • CROSS Joins
  • INNER Join
  • OUTER Joins
  • FULL OUTER Join
  • Table Aliases
  • Self Join
  • Joining on non-key columns
  • Advanced Joins
  • Mixing INNER and OUTER Joins

Temporary Tables

  • Local Temporary Tables
  • Global Temporary Tables

Views

  • Single Table Views
  • Multi-table Views
  • Updating Through Views

Advanced Data Organisation

  • The GROUP BY Clause
  • The HAVING Clause
  • Ranking Grouped Data
  • ROW_NUMBER
  • RANK & DENSE_RANK
  • NTILE
  • The CUBE and ROLLUP options
  • GROUPING SETS
  • PIVOT

Sub Queries

  • Simple Sub Queries
  • Using Aggregate Functions in Sub Queries
  • Correlated Sub Queries
  • Avoiding Sub Queries
  • Derived Table Sub Queries
  • Sub Queries in SELECT Lists

Advanced Update and Delete Statements

  • Simple Update and Delete Statements
  • UPDATES and DELETES With Sub Queries
  • The FROM Clause

Merging Records

  • MERGE Statement

Common Table Expressions

  • Simple CTEs
  • Recursive Data Sets
  • Hierarchical Data Sets

Simple Execution Plans

  • Graphical Execution Plans
  • Estimated Plans
  • Actual Plans
  • Query Plan Costs
  • Physical Operations
  • Order Of Execution

Course Dates

London CentralLondon GreenwichBristol

London Greenwich

Dates Price Book Now
29 - 30 Aug £695 Book Now
6 - 7 Nov £695 Book Now
See more dates...
All our courses run in London and Bristol, or can be tailored to requirements at your own offices. For alternative dates, please email or call us on 0208 269 4260
All prices are per person and are subject to VAT
15% discount for groups of four delegates.
10% discount for groups of three delegates.
(This offer applies for delegates on the same public scheduled course on the same date.)

Related Courses


"Lovely accommodation and atmosphere. The training was well structured and clear."

Alistair Sawday Publishing

"Amazing! Looking forward to the follow-up course!"

MOD

"An excellent presentation, very clearly explained and enjoyable at the same time. Has given me confidence in using this software."

RAF Culdrose



 

 

© Transmedia . 277 Greenwich High Road London SE10 8NB  UK . 0208 269 4260
Designed by Transmedia's Web Team