Get in Touch

Course Outline

Recap: SQL Functions and Expressions

  • Character, numeric, DateTime functions
  • Explicit and implicit conversion
  • Conversion functions
  • Nested functions
  • Getting current date and time with different functions
  • CASE expression

Aggregate data using aggregate functions

  • Aggregate functions
  • Aggregate functions vs NULL value
  • GROUP BY clause
  • Grouping using different columns
  • Filtering aggregated data - HAVING clause
  • Multidimensional data grouping - ROLLUP and CUBE operators
  • Identifying summaries - GROUPING
  • GROUPING SETS operator
  • Crosstabs using PIVOT

Retrieving data from multiple tables

  • Different types of joints
  • Table aliases
  • INNER JOIN
  • LEFT, RIGHT, FULL OUTER JOINS

Set operators

  • UNION
  • UNION ALL
  • INTERSECT
  • EXCEPT

Subqueries

  • When and where subquery can be done
  • Single-row and multi-row subqueries
  • Single-row subquery operators
  • Aggregate functions in subqueries
  • Multi-row subquery operators - IN, ALL, ANY
  • Recursive subqueries

Analytic functions

  • Use of
  • Window functions, types of windows
  • Partitions
  • Ranking functions
  • LAG/LEAD functions
  • FIRST_VALUE/LAST_VALUE functions
  • STRING_AGG function
  • Statistical functions

Requirements

Participants should have a good working knowledge of basic SQL and Microsoft SQL Server, including the ability to:

  • Write basic SELECT queries to retrieve data from one or more tables.
  • Use WHERE clauses and basic filtering conditions.
  • Work with common SQL functions, such as character, numeric and date functions.
  • Understand basic data types and conversions.
  • Use basic JOIN operations.
  • Apply aggregate functions such as COUNT, SUM, AVG, MIN and MAX.
  • Understand and use GROUP BY and HAVING.
  • Have some practical experience working with databases, data analysis or reporting.

This is an advanced-level course, so participants are expected to already be comfortable with fundamental SQL concepts before progressing to more complex topics such as subqueries, advanced aggregation, set operators and analytic/window functions.

Audience

This course is designed for data analysts and reporting application developers.

 14 Hours

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.
Investment

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)

Upcoming Courses

Related Categories