Get in Touch
 Duration 14 hours

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 SELECT statements to extract information from single or multiple tables.
  • Utilize WHERE clauses 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 JOIN operations.
  • Implement aggregate functions like COUNT, SUM, AVG, MIN, and MAX.
  • Comprehend and apply GROUP BY and HAVING clauses.
  • 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.
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