Duration: 2 Days
Course Overview
The Oracle SQL Advanced course is designed to give delegates practical experience in using some of the more advanced features of Oracle SQL. Additional datatypes and the use of advanced SQL functions and expressions are covered together with enhanced table handling features.
How can I attend my course?
COURSE OBJECTIVES
To provide the skills needed to use the more advanced features of Oracle SQL.
• Retrieve Data Using Correlated Subqueries, In-Line Views and Multi-Column Subqueries
• Use the WITH Clause
• Insert and Updating Rows Using Complex Subqueries
• Create Hierarchical Queries
• Create Analytic Queries
• Use ROLLUP, CUBE and GROUPING SETS Group By Enhancements
• Implement the GROUPING and GROUPING_ID Functions
• Manage Large Data Sets
• Insert Data Conditionally and Unconditionally
• Merge Rows in a Table
• Create TIMESTAMP and INTERVAL Datatypes
• Use TIMESTAMP, TIMEZONE and INTERVAL Functions and Literals
• Use Regular Expressions and Implementing Related Functions
• Manage Objects with the Data Dictionary
• Manage Schema Objects
• Perform Flashback Operations
• Create and Using External Tables
• Control User Access to Database Objects
Course Content – Day 1
Course Introduction
• Administration and Course Materials
• Course Structure and Agenda
• Delegate and Trainer Introductions
Session 1: ACCESS CONTROL
• System Privileges and Roles
• Create Users
• Alter User Details
• Grant and Revoke Object Privileges
Session 2: 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 3: HIERARCHICAL QUERIES
• Hierarchical data
• The START WITH and CONNECT BY clauses
• The LEVEL pseudo-column
• Sequencing the output
• Eliminating nodes and branches
Session 4: 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 5: ANALYTIC QUERIES
• Ranking functions
• The NTILE and WIDTH_BUCKET functions
• Analytic Aggregate functions
• The FIRST and LAST Value functions
• The LEAG and LAG Functions
• The LISTAGG Function
Session 6: 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
Course Content – Day 2
Session 7: FLASHBACK TECHNOLOGY
• Flashback Query
• The AS Clause
• Flashback Table
• Flashback Drop
Session 8: REGULAR EXPRESSION SUPPORT
• Regular Expression Notation
• Character matching
• Repetition operators
• Sub expression grouping
• Regular expression functions
Session 9: MANAGE OBJECTS WITH THE DATA DICTIONARY
• The Data Dictionary
• Useful Data Dictionary Tables
• Using the Data Dictionary
Session 10: ADVANCED SCHEMA MANAGEMENT
• Virtual columns
• Invisible columns
• Default values for table columns
• Function Based Indexes
• Creating and Using External Tables
Session 11: 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
Examinations:
• Together with the Oracle SQL course, the Oracle SQL Advanced course 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.
• Exams are not included as part of the course.
COURSE PREREQUISITES
Delegates should have attended the Oracle SQL course or have a similar level of experience