Course Outline
Extracting Data from Databases
- SQL syntax conventions
- Retrieving all columns
- Column projection
- Arithmetic operations within SQL
- Assigning column aliases
- Working with literals
- String concatenation
Refining Result Sets via Filtering
- Utilizing the WHERE clause
- Employing comparison operators
- Pattern matching with LIKE
- Range filtering with BETWEEN...AND
- Checking for NULL values
- Member checks with the IN condition
- Logical operators: AND, OR, NOT
- Combining multiple conditions in WHERE clauses
- Operator precedence rules
- Removing duplicates with the DISTINCT clause
Organizing Results through Sorting
- Applying the ORDER BY clause
- Sorting by multiple columns or complex expressions
Implementing SQL Functions
- Distinguishing between single-row and multi-row functions
- Character, numeric, and DateTime functions
- Explicit versus implicit data conversion
- Using conversion functions
- Nesting functions
- The Dual table in Oracle compared to other database systems
- Retrieving current date and time using various functions
Aggregating Data with Aggregate Functions
- Overview of aggregate functions
- Handling NULL values in aggregates
- Grouping data with the GROUP BY clause
- Grouping by various column combinations
- Filtering aggregated results using the HAVING clause
- Multi-dimensional grouping with ROLLUP and CUBE operators
- Identifying summary rows with the GROUPING function
- Using the GROUPING SETS operator
Retrieving Data Across Multiple Tables
- Various types of joins
- NATURAL JOIN implementation
- Using table aliases
- Oracle syntax: specifying join conditions in the WHERE clause
- SQL99 syntax: INNER JOIN
- SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINS
- Cartesian products in Oracle and SQL99 syntax
Utilizing Subqueries
- Identifying appropriate contexts for subqueries
- Distinguishing single-row and multi-row subqueries
- Operators for single-row subqueries
- Integrating aggregate functions within subqueries
- Multi-row subquery operators: IN, ALL, ANY
Combining Result Sets with Set Operators
- UNION operation
- UNION ALL operation
- INTERSECT operation
- MINUS/EXCEPT operation
Managing Transactions
- Using COMMIT, ROLLBACK, and SAVEPOINT statements
Exploring Other Schema Objects
- Creating and using Sequences
- Working with Synonyms
- Defining Views
Performing Hierarchical Queries and Sampling
- Building tree structures with CONNECT BY PRIOR and START WITH clauses
- Using the SYS_CONNECT_BY_PATH function
Applying Conditional Expressions
- The CASE expression
- The DECODE expression
Managing Data Across Time Zones
- Understanding time zones
- TIMESTAMP data types
- Distinguishing between DATE and TIMESTAMP
- Executing conversion operations
Leveraging Analytic Functions
- Applications of analytic functions
- Defining partitions
- Configuring windows
- Ranking functions
- Reporting functions
- LAG and LEAD functions
- FIRST and LAST functions
- Reverse percentile functions
- Hypothetical ranking functions
- WIDTH_BUCKET functions
- Statistical functions
Requirements
No specific prerequisites are required to participate in this course.
Testimonials (7)
RULLUP and CUBE are functions that I was unaware of that I can use immediately following this course.
Matthew Causino - Together Credit Union
Course - SQL Advanced level for Analysts
Using AI to help me identify what an unknown existing complex query is doing and ways to prompt AI to help make performance improvements.
Sean Devanny - Together Credit Union
Course - SQL Advanced level for Analysts
I think the reverse engineering of a SQL that you inherited to better understand its design, where information is coming from and ultimately understand the results.
William Shermer - Together Credit Union
Course - SQL Advanced level for Analysts
There were many valuable takeaways, but the guidance on complex query structuring, performance, and AI tooling assistance was particularly helpful. Uziel did a great job at in depth coverage of all the topics we covered.
Connor Murphy - Together Credit Union
Course - SQL Advanced level for Analysts
I liked the pace of the training and the level of interaction. All participants were encouraged to actively partake in discussions around exercise solutions, etc.
Aaron - Computerbits
Course - SQL Advanced level for Analysts
The trainer's efforts to make sure the less knowledgeable participants weren't being left behind.
Cian - Computerbits
Course - SQL Advanced level for Analysts
I greatly appreciated the interactive nature of the class, where the trainer actively engaged with attendees to ensure they were comprehending the material. Additionally, the trainer's excellent understanding of various database manipulation tools significantly enriched his presentations, providing a comprehensive overview of the tools' capabilities.