Course Outline
Data Retrieval Fundamentals
- Understanding SQL syntax
- Selecting all columns
- Concept of projection
- Performing arithmetic operations
- Assigning column aliases
- Handling literals
- String concatenation
Data Filtering Techniques
- Using the WHERE clause
- Applying comparison operators
- Pattern matching with LIKE
- Range filtering with BETWEEN...AND
- Checking for NULL values
- Set-based filtering with IN
- Logical operators: AND, OR, NOT
- Combining multiple conditions
- Operator precedence
- Removing duplicates with DISTINCT
Result Set Sorting
- Implementing the ORDER BY clause
- Sorting by multiple columns or expressions
SQL Built-in Functions
- Distinguishing between single-row and multi-row functions
- Utilizing Character, Numeric, and DateTime functions
- Explicit vs. implicit data conversion
- Using conversion functions
- Nesting functions
- The Dual table (Oracle-specific vs. other databases)
- Retrieving current date and time
Data Aggregation
- Core aggregate functions
- Handling NULL values in aggregation
- Using the GROUP BY clause
- Grouping by multiple columns
- Filtering groups with the HAVING clause
- Multidimensional grouping via ROLLUP and CUBE
- Identifying summaries using GROUPING
- Advanced grouping with GROUPING SETS
Multi-Table Data Retrieval
- Types of joins
- NATURAL JOIN
- Defining table aliases
- Oracle syntax: joins via WHERE clause
- SQL99 syntax: INNER JOIN
- SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINS
- Cartesian products in Oracle and SQL99
Subqueries
- Placement and usage scenarios
- Single-row vs. multi-row subqueries
- Operators for single-row subqueries
- Using aggregate functions in subqueries
- Operators for multi-row subqueries: IN, ALL, ANY
Set Operations
- UNION
- UNION ALL
- INTERSECT
- MINUS/EXCEPT
Transaction Management
- COMMIT, ROLLBACK, and SAVEPOINT commands
Additional Schema Objects
- Sequences
- Synonyms
- Views
Hierarchical Queries
- Constructing trees using CONNECT BY PRIOR and START WITH
- Using the SYS_CONNECT_BY_PATH function
Conditional Logic
- CASE expressions
- DECODE expressions
Time Zone Data Management
- Time zone concepts
- TIMESTAMP data types
- Distinguishing between DATE and TIMESTAMP
- Conversion processes
Advanced Analytic Functions
- Application contexts
- Partitioning
- Windowing
- Ranking functions
- Reporting functions
- LAG/LEAD functions
- FIRST/LAST functions
- Reverse percentile functions
- Hypothetical rank functions
- WIDTH_BUCKET functions
- Statistical functions
Requirements
No prior specific experience is required to join 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.