Course Outline
Extracting Data from Databases
- Syntactic conventions
- Retrieving all columns
- Data projection
- Performing arithmetic operations in SQL
- Using column aliases
- Handling literals
- String concatenation
Filtering Result Sets
- Utilizing the WHERE clause
- Using comparison operators
- Applying the LIKE condition
- Using the BETWEEN...AND condition
- Checking for NULL values (IS NULL)
- Using the IN condition
- Combining conditions with AND, OR, NOT
- Handling multiple conditions within the WHERE clause
- Operator precedence
- Removing duplicates with the DISTINCT clause
Ordering Result Sets
- Using the ORDER BY clause
- Sorting by multiple columns or expressions
SQL Functions
- Distinguishing between single-row and multi-row functions
- Character, numeric, and DateTime functions
- Explicit and implicit data conversion
- Using conversion functions
- Nesting functions
- The Dual table (comparing Oracle with other databases)
- Retrieving current date and time using various functions
Aggregating Data with Aggregate Functions
- Overview of aggregate functions
- Behavior of aggregate functions with NULL values
- Using the GROUP BY clause
- Grouping by different columns
- Filtering aggregated results with the HAVING clause
- Multi-dimensional grouping using ROLLUP and CUBE operators
- Identifying summary rows with GROUPING
- The GROUPING SETS operator
Retrieving Data from Multiple Tables
- Various types of joins
- NATURAL JOIN syntax
- Assigning table aliases
- Oracle legacy syntax - join conditions in the WHERE clause
- SQL99 syntax - INNER JOIN
- SQL99 syntax - LEFT, RIGHT, and FULL OUTER JOINS
- Cartesian product in both Oracle and SQL99 syntax
Subqueries
- Where and when to apply subqueries
- Single-row and multi-row subqueries
- Operators for single-row subqueries
- Using aggregate functions within subqueries
- Operators for multi-row subqueries - IN, ALL, ANY
Set Operators
- UNION
- UNION ALL
- INTERSECT
- MINUS/EXCEPT
Transactions
- Managing transactions with COMMIT, ROLLBACK, and SAVEPOINT
Other Schema Objects
- Sequences
- Synonyms
- Views
Hierarchical Queries and Examples
- Building trees using CONNECT BY PRIOR and START WITH clauses
- The SYS_CONNECT_BY_PATH function
Conditional Expressions
- Using the CASE expression
- Using the DECODE expression
Managing Data Across Time Zones
- Concepts of time zones
- TIMESTAMP data types
- Distinguishing between DATE and TIMESTAMP
- Performing conversion operations
Analytic Functions
- Applications of analytic functions
- Defining partitions
- Working with windows
- 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 prerequisites are required to participate in this course.
Testimonials (7)
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.
Kehinde - Computerbits
Course - SQL Advanced level for Analysts
Lukasz's teaching approach is far superior to traditional methods. His engaging and innovative style made the training sessions incredibly effective and enjoyable. I highly recommend Lukasz and NobleProg to anyone seeking top-notch training. The experience was truly transformative, and I feel much more confident in applying what I've learned
Adnan Chaudhary - Computerbits
Course - SQL Advanced level for Analysts
The training was incredibly interactive, making it both engaging and enjoyable. The activities and discussions effectively reinforced the material. Every necessary topic was covered thoroughly, with a well-structured and easy-to-follow format that ensured we gained a solid understanding of the subject. The inclusion of real-world examples and case studies was particularly beneficial, helping us see how the concepts could be applied in practical scenarios. Łukasz fostered a supportive and inclusive atmosphere where everyone felt comfortable asking questions and participating, which greatly enhanced the overall learning experience. His expertise and ability to explain complex topics in a simple manner were impressive, and his guidance was invaluable in helping us grasp difficult concepts. Łukasz's enthusiasm and positive energy were contagious, making the sessions lively and motivating us to stay engaged and participate actively. Overall, the training was a fantastic experience, and I feel much more confident in my abilities thanks to the excellent instruction provided.
Karol Jankowski - Computerbits
Course - SQL Advanced level for Analysts
Extremely happy with Luke as a trainer. He is very engaging and explains each topic in a way that i could understand. He was also very willing to answer questions. I would highly recommend him as a trainer going forward. I ask a LOT of questions, and Luke was always more than happy to take the time to answer them.
Paul - Computerbits
Course - SQL Advanced level for Analysts
How he explains things