Course Outline
Review: SQL Functions and Expressions
- Character, numeric, and DateTime functions
- Explicit and implicit data conversion
- Conversion utilities
- Nested function logic
- Retrieving current date and time via various functions
- The CASE expression
Data Aggregation via Aggregate Functions
- Core aggregate functions
- Handling NULL values in aggregation
- The GROUP BY clause
- Grouping data by diverse columns
- Filtering aggregated results using the HAVING clause
- Multidimensional grouping with ROLLUP and CUBE operators
- Identifying summary rows using the GROUPING function
- The GROUPING SETS operator
- Creating crosstabs with PIVOT
Extracting Data from Multiple Tables
- Various join types
- Utilizing table aliases
- INNER JOIN specifics
- LEFT, RIGHT, and FULL OUTER JOINs
Set Operators
- UNION
- UNION ALL
- INTERSECT
- EXCEPT
Subqueries
- Contexts for implementing subqueries
- Single-row versus multi-row subqueries
- Operators for single-row subqueries
- Using aggregate functions within subqueries
- Multi-row operators: IN, ALL, and ANY
- Recursive subquery structures
Analytic Functions
- Application scenarios
- Window functions and window types
- Data partitioning
- Ranking function suites
- LAG and LEAD functions
- FIRST_VALUE and LAST_VALUE functions
- The STRING_AGG function
- Statistical functions
Requirements
To succeed in this programme, participants must possess a solid working command of fundamental SQL and Microsoft SQL Server concepts, including the capacity to:
- Construct basic
SELECTstatements to extract information from single or multiple tables. - Utilize
WHEREclauses along with standard filtering conditions. - Manipulate common SQL utilities, such as character, numeric, and date functions.
- Grasp the principles of basic data types and their conversions.
- Execute elementary
JOINoperations. - Implement aggregate functions like
COUNT,SUM,AVG,MIN, andMAX. - Comprehend and apply
GROUP BYandHAVINGclauses. - Demonstrate practical experience in database management, data analysis, or reporting contexts.
Given that this is an advanced-level course, it is assumed that learners are already at ease with core SQL principles before delving into more intricate subjects such as subqueries, complex aggregation, set operators, and analytic/window functions.
Audience
The content is tailored specifically for data analysts and developers working with reporting applications.
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customized Content: We adapt the syllabus and practical exercises to the real goals and needs of your project.
- Flexible Schedule: Dates and times adapted to your team's agenda.
- Format: Online (live), In-company (at your offices), or Hybrid.
Price per private group, online live training, starting from 2900 € + VAT*
Contact us for an exact quote and to hear our latest promotions
Testimonials (4)
data was personalised to our organisations
Vincent Long - ASSMANG PTY LTD
Course - T-SQL Fundamentals with SQL Server Training Course
personalised to our understanding and data
Vincent Long - ASSMANG PTY LTD
Course - Business Intelligence with SSAS
The instructor brought his A game again as he superbly took my staff through the customized training with expert timing, knowledge, support, and rapport with my staff.
James - Shawnee Mission School District
Course - Administering in Microsoft SQL Server
The lecture about cte