title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.
Oracle SQL
Course Description
Overview
This Oracle SQL course is designed to provide students with a deeper knowledge and understanding of the Oracle SQL and how to write it. Students will learn the Oracle SQL starting at the most basic level and going to the most advanced level with many examples.Objectives
- Identify and apply basic SQL functions
- Understand the WHERE clause
- Contrast Distinct vs. Group by
- Recognize and apply functions, such as:
- Aggregation, Join, Date, OLAP, View, Sub-query and Statistical Aggregate
- Recognize and produce Temporary Tables
- Define and distinguish Strings
- Interrogate the Data
- Set Operators
- Demonstrate knowledge of the Data Manipulation Language (DML)
Audience
- Anyone who has a desire to learn Oracle SQL from beginners to an advanced audience.
Prerequisites
- None
Topics
- Introduction
- Setting Your Default SCHEMA
- SELECT * (All Columns) in a Table
- SELECT Specific Columns in a Table
- Place your Commas in front for better Debugging Capabilities
- Sort the Data with the ORDER BY Keyword
- ORDER BY Defaults to Ascending
- Use the Name or the Number in your ORDER BY Statement
- Two Examples of ORDER BY using Different Techniques
- Changing the ORDER BY to Descending Order
- NULL Values sort First in Ascending Mode (Default)
- NULL Values sort First in Descending Mode (DESC)
- Major Sort vs. Minor Sorts
- Multiple Sort Keys using Names vs. Numbers
- Sorts are Alphabetical, NOT Logical
- Using A CASE Statement to Sort Logically
- How to ALIAS a Column Name
- A Missing Comma can by Mistake become an Alias
- Comments
- Formatting Number
- Formatting Dates
- The WHERE Clause limits Returning Rows
- Double Quoted Aliases are for Reserved Words and Spaces
- Comparisons against a Null Value
- Use IS NULL or IS NOT NULL when dealing with NULLs
- Using Greater Than or Equal To (>=)
- AND in the WHERE Clause
- Troubleshooting AND, OR
- OR in the WHERE Clause
- Using Different Columns in an AND Statement
- What is the Order of Precedence?
- Using Parentheses to change the Order of Precedence
- Using an IN List in place of OR
- The IN List is an Excellent Technique
- IN List vs. OR brings the same Results
- The IN List Can Use Character Data
- Using a NOT IN List
- Null Values in a NOT IN List Bring Back No Rows
- A Technique for Handling Nulls with a NOT IN List
- BETWEEN is Inclusive
- NOT BETWEEN is Also Inclusive
- LIKE Command
- Numbers are Right Justified and Character Data is Left
- An Example of Data with Left and Right Justification
- A Visual of CHARACTER Data vs. VARCHAR Data
- Use the TRIM command to remove spaces on CHAR Data
- Escape Character in the LIKE Command changes Wildcards
- Escape Characters Turn off Wildcards in the LIKE Command
- The Distinct Command
- Distinct vs. GROUP BY
- The 3 Rules of Aggregation
- There are Five Aggregates
- Troubleshooting Aggregates
- GROUP BY delivers one row per Group
- GROUP BY Dept_No Works GROUP BY 1 Fails
- Limiting Rows and Improving Performance with WHERE
- WHERE Clause in Aggregation limits unneeded Calculations
- Keyword HAVING tests Aggregates after they are totaled
- Keyword HAVING is like an Extra WHERE Clause for Totals
- Keyword HAVING tests Aggregates after they are totaled
- Getting the Average Values per Column
- Average Values per Column for all Columns in a Table
- A Two-Table Join Using Traditional Syntax
- A two-table join using Non-ANSI Syntax with Table Alias
- A two-table join using A Different Syntax
- You Can Fully Qualify All Columns
- A two-table join using ANSI Syntax
- Both Queries have the same Results and Performance
- LEFT OUTER JOIN
- RIGHT OUTER JOIN
- FULL OUTER JOIN
- INNER JOIN with Additional AND Clause
- ANSI INNER JOIN with Additional AND Clause and WHERE Clause
- OUTER JOIN with Additional WHERE Clause and AND Clause
- OUTER JOIN with Additional AND Clause Results
- Evaluation Order for Outer Queries
- The DREADED Product Join
- The Horrifying Cartesian product join
- The ANSI Cartesian Join will ERROR
- The CROSS JOIN
- The Self Join
- How would you join these two tables?
- An Associative Table is a Bridge that Joins Two Tables
- The 5-Table Join – Logical Insurance Model
- The Nexus Query Chameleon Writes the SQL for Users
- Getting the System Date
- Extracting the Day, Month, Year from the SYSDATE
- The Current_Timestamp
- The ADD_MONTHS Command
- Using the ADD_MONTHS Command to Add Years
- Using the LAST_DAY Command
- NEXT_DAY Command Finds a Future Day of the Week
- The ROUND Command
- The TRUNC Command
- Adding Days and Minutes
- How to Get the Difference in Hours
- Add or Subtract Days Plus Format Dates and Dollars
- A Summary of Math Operations on Dates
- The EXTRACT Command
- Using Intervals
- How a Simple Interval Handles Leap Year
- Troubleshooting Intervals – Invalid Dates Error
- The Row_Number Command
- Using a Derived Table and Row_Number
- Ordered Analytics OVER
- RANK and DENSE RANK
- RANK OVER and PARTITION BY
- PERCENT_RANK OVER
- Finding Gaps between Dates
- CSUM
- The ANSI CSUM – Getting a Sequential Number
- Reset with a PARTITION BY Statement
- PARTITION BY only Resets a Single OLAP not ALL of them
- CURRENT ROW AND UNBOUNDED FOLLOWING
- Different Windowing Options
- Moving Sum has a Moving Window
- How ANSI Moving SUM Handles the Sort
- Moving SUM every 3-rows Vs a Continuous Average
- Partition by Resets an ANSI OLAP
- The Moving Window is Current Row and Preceding
- Moving Average
- Partition by Resets an ANSI OLAP
- Moving Difference using ANSI Syntax
- Moving Difference using ANSI Syntax with Partition By
- COUNT OVER for a Sequential Number
- The MAX OVER Command
- The MIN OVER Command
- Finding a Value of a Column in the Next Row with MIN
- The CSUM for Each Product_Id and the Next Start Date
- Ntile
- Using Quantiles (Partitions of Four)
- FIRST_VALUE
- LAST_VALUE
- LEAD
- LAG
- MEDIAN with Partitioning
- CUME_DIST
- SUM (SUM (n))
- There are two types of Temporary Tables
- CREATING A Derived Table
- Creating Multiple Derived Tables in the WITH Command
- The Same Derived Query shown Two Different Ways
- Most Derived Tables Are Used To Join To Other Tables
- The Three Components of a Derived Table
- Visualize This Derived Table
- Our Join Example with A Different Column Aliasing Style
- Column Aliasing Can Default For Normal Columns
- Our Join Example With the WITH Syntax
- Quiz - Answer the Questions
- Answer to Quiz - Answer the Questions
- Clever Tricks on Aliasing Columns in a Derived Table
- An Example of Two Derived Tables in a Single Query
- Example of Two Derived Tables in a Single WITH Statement
- WITH RECURSIVE Derived Table:
- Hierarchy
- Query
- Definition
- Seeding
- Looping
- Looping in Slow Motion
- Looping Continued
- Looping Continued
- Ends the Looping
- Definition
- WITH RECURSIVE Final Answer Set
- Creating and Populating a Global Temporary Table
- Global Temporary Table Definitions Persist
- Vital Information about Global Temporary Tables
- ON COMMIT DELETE ROWS Example
- Creating and Populating a Global Temporary Table
- Creating a Global Temporary Table Using a CTAS
- Creating a Global Temporary Table Using a CTAS Join
- Creating a Temporary Table from Another's Space
- A Global Temp Table That Populates Some of the Rows
- A Temporary Table with Some of the Columns
- An IN List is much like a Subquery
- An IN List Never has Duplicates – Just like a Subquery
- The Subquery
- Should you use a Subquery or a Join?
- The Basics of a Correlated Subquery
- The Top Query always runs first in a Correlated Subquery
- Correlated Subquery Example vs. a Join with a Derived Table
- How the Double Parameter Subquery Works
- More on how the Double Parameter Subquery Works
- How to handle a NOT IN with potential NULL Values
- IN is equivalent to =ANY
- Using a Correlated Exists
- How a Correlated Exists matches up
- The Correlated NOT Exists
- The LENGTH Command
- The TRIM Command
- The SUBSTRING Command
- Concatenation
- Concatenation and SUBSTRING
- Four Concatenations Together
- UPPER and LOWER Commands
- LPAD and RPAD
- SOUNDEX
- REGEXP_LIKE
- REGEXP_REPLACE
- REGEXP_INSTR
- Using the LOWER Command
- Using the UPPER Command
- Non-Letters are Unaffected by UPPER and LOWER
- The COALESCE Command
- The COALESCE Command – Fill In the Answers
- COALESCE is Equivalent to This CASE Statement
- The Basics of CAST (Convert and Store)
- Some Great CAST (Convert and Store) Examples
- A Rounding Example
- Using an ELSE in the Case Statement
- Using an ELSE as a Safety Net
- Rules for a Valued Case Statement
- Rules for a Searched Case Statement
- Valued Case Vs. A Searched Case
- The CASE Challenge
- The CASE Challenge Answer
- Combining Searched Case and Valued Case
- A Trick for getting a Horizontal Case
- Nested Case
- Put a CASE in the ORDER BY
- The Fundamentals of Views
- Creating a Simple View to Restrict Sensitive Columns
- You SELECT From a View
- Creating a Simple View to Restrict Rows
- A View Provides Security for Columns and Rows
- Basic Rules for Views
- How to Modify a View
- An Exception to the ORDER BY Rule inside a View
- Views Are Sometimes CREATED for Formatting
- Creating a View to Join Tables Together
- How to Alias Columns in a View CREATE
- The Standard Way Most Aliasing is done
- What Happens When Both Aliasing Options Are Present
- Resolving Aliasing Problems in a View CREATE
- Answer to Resolving Aliasing Problems in a View CREATE
- Aggregates on View Aggregates
- Altering a Table after a View Has Been Created
- A View that Errors after an ALTER
- Rules of Set Operators
- INTERSECT Explained Logically
- UNION Explained Logically
- UNION ALL Explained Logically
- Minus Explained Logically
- An Equal Amount of Columns in both SELECT List
- Columns in the SELECT list should be from the same Domain
- The Top Query handles all Aliases
- The Bottom Query does the ORDER BY
- UNION Vs UNION ALL
- A Great Example of how MINUS works
- USING Multiple SET Operators in a Single Request
- Changing the Order of Precedence with Parentheses
- Using UNION ALL for speed in Merging Data Sets
- The Basics of Creating a Table
- Creating a Table with Default Values
- Altering a Table to Add/Drop a Column
- Renaming a Table
- Dropping a Table
- Defining Primary Keys
- Defining a Primary Key after the Table Has Been Created
- Creating a Table Using a CTAS
- Creating a Table Using a CTAS Join
- Creating a Global Temporary Table Using a CTAS
- Creating a Temporary Table from Another's Space
- INSERT Syntax # 1 & 2
- INSERT/SELECT Command
- INSERT/SELECT example using All Columns (*)
- INSERT/SELECT example with Less Columns
- Two UPDATE Examples
- Subquery UPDATE Command Syntax
- Example of Subquery UPDATE Command
- Join UPDATE Command Syntax
- The DELETE Command Basic Syntax
- DELETE ALL Rows in a Table
- A DELETE Example Deleting only Some of the Rows
- Example of Subquery DELETE Command
- Example of Subquery DELETE That Gets Rid of Null Values
- Numeric Manipulation Functions
- The Stats Table
- The STDDEV_POP Function
- The STDDEV_SAMP Function
- The VAR_POP Function
- The VAR_SAMP Function
- The VARIANCE Function
- The CORR Function
- The COVAR_POP Function
- Another COVAR_POP Example so you can compare
- The COVAR_SAMP Function
- Another COVAR_SAMP Example so you can compare
- The REGR_INTERCEPT Function
- Another REGR_INTERCEPT Example so you can compare
- The REGR_SLOPE Function
- Another REGR_SLOPE Example so you can compare
- The REGR_AVGX Function
- Another REGR_AVGX Example so you can compare
- The REGR_AVGY Function
- Another REGR_AVGY Example so you can compare
- The REGR_COUNT Function
- The REGR_R2 Function
- The REGR_SXX Function
- The REGR_SXY Function
- The REGR_SYY Function
- Using GROUP BY
Related Courses
-
Oracle Database 12c: SQL II - Intermediate
DBOR-951- Duration: 3 Days
- Delivery Format: Classroom Training, Online Training
- Price: 2,100.00 USD
-
Oracle Database 12c: PL/SQL I - Introduction
DBOR-952- Duration: 2 Days
- Delivery Format: Classroom Training, Online Training
- Price: 1,400.00 USD
Self-Paced Training Info
Learn at your own pace with anytime, anywhere training
- Same in-demand topics as instructor-led public and private classes.
- Standalone learning or supplemental reinforcement.
- e-Learning content varies by course and technology.
- View the Self-Paced version of this outline and what is included in the SPVC course.
- Learn more about e-Learning
Course Added To Shopping Cart
bla
bla
bla
bla
bla
bla
Self-Paced Training Terms & Conditions
Exam Terms & Conditions
Sorry, there are no classes that meet your criteria.
Please contact us to schedule a class.
STOP! Before You Leave
Save 0% on this course!
Take advantage of our online-only offer & save 0% on any course !
Promo Code skip0 will be applied to your registration
Purchase Information
title
Please take a moment to fill out this form. We will get back to you as soon as possible.
All fields marked with an asterisk (*) are mandatory.