Oracle 10g SQL Training
Advanced SQL Queries for Oracle10g Databases - 14 Hour Online Class or 2 Day Classroom Workshop
Advanced SQL skills for professionals who use SQL to query Oracle 10g databases. Covers conditional logic (DECODE and CASE); set operations (UNION, INTERSECT and MINUS); subqueries including NOT EXISTS and WITH; advanced joins and GROUP BY; coding queries on partitioned data; grouping data; analytic functions; MODEL queries in Oracle 10g; hierarchical queries (CONNECT BY, LEVEL with LPAD, WHERE, SIBLINGS, sorts and paths); using regular expressions (REGEXP_LIKE, REGEXP_REPLACE) in Oracle 10g; working with Oracle 10g date and time data; Oracle XML DB and XMLType, and a review of new features and enhancements in Oracle 10g.
Online Class ScheduleRequest a Class |
Request More Info |
Buy Course Book |
Topic Summary | Print Version
Class Description:
This course will give experienced Oracle technologists the advanced SQL skills necessary to design and code complex queries against Oracle databases.You will learn to use many advanced SQL coding techniques such as coding analytic functions for data warehouse and decision support queries, using partition outer join to "densify" data, the Oracle10g MODEL clause ("spreadsheet-like capability directly from the database"), Oracle10g regular expressions for pattern matching, using the extended aggregate functions CUBE and ROLLUP, CONNECT BY (hierarchical queries), coding SET operations such as INTERSECT, and more.An overview Oracle10g SQL-related new features is also provided. (This overview is limited to only those features not included in the primary lessons in the course.)As with all of our courses, this course is highly customizable to your specific training requirements. Hands-on workshops constitute approximately 50% of the class.Audience: Anyone who uses SQL to query Oracle databases including developers, analysts, database administrators and decision support personnel. Persons working in a data warehouse or decision support environment will benefit greatly from the lessons on analytic functions, grouping with CUBE and ROLLUP, modeling (the Oracle10g MODEL clause) and coding queries on partitioned data.Prerequisites: Some SQL and SQL*Plus experience is required. For example, you should be comfortable coding basic SQL SELECT statements, including the use of the WHERE clause with basic filters and simple joins. This can be obtained by attending SkillBuilders' Introduction to Oracle class.Next Courses: Oracle10g SQL Tuning for Developers and DBAs, Oracle10g Database Administration. |
Objectives: After successfully completing this course, you will be able to:
|
Topic Summary
- Oracle DECODE and CASE - Conditional Logic in SQL
- Introduction to Oracle DECODE
- Examples
- Oracle DECODE and Range Comparisons
- The Oracle CASE Expression
- Oracle CASE Syntax
- CASE Examples
- Workshop
- Set Operations
- UNION , INTERSECT and MINUS Operators
- UNION Example
- Key UNION Concepts
- UNION ALL Example
- INTERSECT Operation
- MINUS Operation
- Example: Compare Schemas
- Example: Compare Tables
- Example: Compound Set Operations
- Workshop
- Subqueries
- Oracle Subquery Overview
- Subquery Examples
- Restrictions
- Subquery Gotcha
- Correlated Subqueries
- The Need for NOT EXISTS
- The EXISTS Operator
- Oracle Top-N Queries - Inline Views
- Oracle9i Extended Subquery Support
- Oracle Subquery Factoring - The WITH Clause
- Workshop
- Advanced Joins
- Join Terminology Review
- 3,4,5 Way Inner Joins
- Join and GROUP BY
- Self-Joins
- Cartesian Product
- Outer Joins
- Workshop
- Oracle ANSI Compliant Joins
- Natural Join
- Oracle USING Clause
- Oracle ON Clause
- Oracle ANSI Outer Joins
- Oracle ANSI Full Outer Joins
- Oracle ANSI Cross Join
- Workshop
- Joining to Views
- Join Tuning Tips
- Oracle Partition Outer Join (Oracle10g)
- Workshop
- Coding Queries on Partitioned Data
- Oracle Partition Concepts
- Partition-Independent Queries
- Partition Pruning
- Coding Partition-Dependent Queries in Oracle
- Workshop
- Grouping Data
- Oracle Aggregate Function Overview
- GROUP BY Example
- Syntax Notes
- Grouping Multiple Columns
- Golden GROUP BY Rule
- The HAVING Clause
- Oracle ROLLUP Operations
- Oracle CUBE Operations
- Oracle GROUPING Function
- Oracle GROUPING Example
- Oracle GROUPING with DECODE
- Oracle GROUPING in HAVING
- Oracle GROUPING SETS
- Workshop
- Oracle Analytic Functions
- Introduction
- What Do They Do?
- Getting Started with Oracle Analytic Functions
- Oracle Partition Clause
- Oracle Order-By Clause
- Oracle Windowing Clause
- Oracle Row Windows
- Oracle Range Windows
- Oracle Range Windows: BETWEEN
- Oracle Range Windows: INTERVAL
- Oracle Ranking Functions
- Oracle Top-N Queries
- Oracle LAG and LEAD Functions
- Closing Thoughts
- List of Analytic Functions
- Resources
- Workshop
- Model Queries (Oracle10g)
- Oracle10g MODEL Clause Concepts
- Oracle10g MODEL Clause Components and Clauses
- Oracle10g MODEL Clause Examples
- Workshop
- Oracle CONNECT BY - Hierarchical Queries
- Introduction
- Oracle CONNECT BY Example
- LEVEL with LPAD
- Adding WHERE Clause
- Sort by LEVEL
- Oracle9i SIBLINGS Sorts
- Oracle9i Hierarchy Path
- New Oracle10g Pseudocolumns (Oracle10g)
- Workshop
- Using Regular Expressions in Oracle SQL (Oracle10g)
- Searching with Oracle10g REGEXP_LIKE
- REGEXP_LIKE Versus LIKE
- Oracle10g Regular Expression Functions (e.g. REGEXP_REPLACE)
- Basic Elements of Expressions
- Using Backreferences
- Examples
- Workshop
- Oracle Date and Time (Temporal) Data
- Scalar Function Review (New Oracle10g Functions)
- Oracle Date Conversion Functions
- Oracle TO_CHAR Examples
- Oracle TO_DATE Examples
- Oracle Date Arithmetic & Functions
- Adding & Subtracting Days in Oracle SQL
- Oracle ADD_MONTHS Function
- Oracle LAST_DAY Function
- Oracle TRUNC Function
- Workshop
- Introduction to Oracle Datetime Data
- Oracle TIMESTAMP Data Type
- Oracle TIMESTAMP WITH TIME ZONE Data Type
- Oracle TIME STAMP WITH LOCAL TIME ZONE Data Type
- Oracle Datetime Conversions
- More Oracle Time Zone Functions
- Workshop
- Oracle XML DB and XMLType
- XML in the Oracle Database
- XMLType in Oracle Tables
- Inserting XML Data
- Selecting XML Data
- Oracle XML DB EXTRACT Function
- Oracle XML DB EXTRACTVALUE Function
- Updating Oracle XML Data
- PL/SQL and XML
- Other Oracle XML Features
- XML DB Workshop
- Additional Oracle10g New SQL Features
- Case Insensitive Search and Sort in Oracle10g
- Enclosing Quotes
- Oracle MERGE Statement Enhancements
- ORA_ROWSCN Pseudocolumn
- Oracle10g Nested Table Enhancements
- Oracle10g Temporary Table Enhancements
- Aggregates in the Oracle10g RETURNING Clause
- New Datatypes in Oracle10g

