Get in Touch
 Duration 14 hours

Course Outline

Review: SQL Functions and Expressions

  • Character, numeric, and DateTime functions
  • Explicit and implicit data conversion
  • Use of conversion functions
  • Nested function logic
  • Retrieving current date and time via various functions
  • The CASE expression

Aggregating data with aggregate functions

  • Overview of aggregate functions
  • Handling aggregate functions with NULL values
  • The GROUP BY clause
  • Grouping data by multiple columns
  • Filtering aggregated results with the HAVING clause
  • Multi-dimensional grouping using ROLLUP and CUBE operators
  • Identifying summary rows with GROUPING
  • The GROUPING SETS operator
  • Creating crosstabs using PIVOT

Extracting data across multiple tables

  • Overview of different join types
  • Using table aliases
  • INNER JOIN mechanics
  • LEFT, RIGHT, and FULL OUTER JOINs

Set operations

  • UNION
  • UNION ALL
  • INTERSECT
  • EXCEPT

Subqueries

  • Scenarios for utilizing subqueries
  • Single-row vs. multi-row subqueries
  • Operators for single-row subqueries
  • Integrating aggregate functions within subqueries
  • Multi-row subquery operators: IN, ALL, ANY
  • Recursive subquery implementation

Analytic functions

  • Practical applications of analytic functions
  • Window functions and window types
  • Data partitioning
  • Ranking functions
  • LAG/LEAD functions
  • FIRST_VALUE/LAST_VALUE functions
  • STRING_AGG function
  • Statistical functions

Requirements

Learners should possess a solid working knowledge of fundamental SQL and Microsoft SQL Server, demonstrating the ability to:

  • Construct basic SELECT statements to fetch data from single or multiple tables.
  • Implement WHERE clauses along with basic filtering conditions.
  • Utilize standard SQL functions, including character, numeric, and date-based utilities.
  • Grasp fundamental data types and their conversions.
  • Execute basic JOIN operations.
  • Apply aggregate functions like COUNT, SUM, AVG, MIN, and MAX.
  • Comprehend and utilize GROUP BY and HAVING clauses.
  • Have hands-on experience with database management, data analysis, or reporting tools.

As this is an advanced-level program, participants are expected to have a strong command of core SQL concepts before diving into complex areas such as subqueries, advanced aggregation, set operators, and analytic/window functions.

Target Audience

This course is specifically tailored for data analysts and developers working with reporting applications.

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories