Course Outline
Review: SQL Functions and Expressions
- Character, numeric, and DateTime functions
- Explicit and implicit conversion
- Conversion functions
- Nested functions
- Retrieving the current date and time using various functions
- CASE expressions
Aggregating data with aggregate functions
- Aggregate functions
- Aggregate functions versus NULL values
- GROUP BY clause
- Grouping by different columns
- Filtering aggregated data with the HAVING clause
- Multidimensional data grouping using ROLLUP and CUBE operators
- Identifying summaries with GROUPING
- The GROUPING SETS operator
- Crosstabs using PIVOT
Extracting data from multiple tables
- Various types of joins
- Table aliases
- INNER JOIN
- LEFT, RIGHT, and FULL OUTER JOINs
Set operators
- UNION
- UNION ALL
- INTERSECT
- EXCEPT
Subqueries
- Scenarios for implementing subqueries
- Single-row and multi-row subqueries
- Single-row subquery operators
- Aggregate functions within subqueries
- Multi-row subquery operators - IN, ALL, ANY
- Recursive subqueries
Analytic functions
- Applications and use cases
- Window functions and window types
- Partitions
- Ranking functions
- LAG/LEAD functions
- FIRST_VALUE/LAST_VALUE functions
- STRING_AGG function
- Statistical functions
Requirements
Delegates should possess a sound working knowledge of fundamental SQL and Microsoft SQL Server, with the capability to:
- Compose basic
SELECTqueries to extract data from one or multiple tables. - Employ
WHEREclauses and foundational filtering criteria. - Utilise common SQL functions, including character, numeric, and date functions.
- Comprehend basic data types and type conversions.
- Perform basic
JOINoperations. - Apply aggregate functions such as
COUNT,SUM,AVG,MIN, andMAX. - Understand and utilise
GROUP BYandHAVING. - Have practical experience in database management, data analysis, or reporting.
As this is an advanced-level programme, delegates are anticipated to be proficient in core SQL concepts before advancing to more intricate topics such as subqueries, complex aggregation, set operators, and analytic/window functions.
Audience
This programme is tailored for data analysts and reporting application developers.
Custom Corporate Training
Training solutions designed exclusively for businesses.
- Customised 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 £3200 + 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 customised 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