Get in Touch
 Duration 14 hours

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 SELECT queries to extract data from one or multiple tables.
  • Employ WHERE clauses and foundational filtering criteria.
  • Utilise common SQL functions, including character, numeric, and date functions.
  • Comprehend basic data types and type conversions.
  • Perform basic JOIN operations.
  • Apply aggregate functions such as COUNT, SUM, AVG, MIN, and MAX.
  • Understand and utilise GROUP BY and HAVING.
  • 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.
Investment

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)

Provisional Upcoming Courses (Contact Us For More Information)

Related Categories