Get in Touch
 Duration 14 hours

Course Outline

Review of SQL Functions and Expressions

  • Functions for character, numeric, and DateTime data
  • Explicit and implicit data type conversion
  • Utilization of conversion functions
  • Implementation of nested functions
  • Retrieving current date and time values
  • Usage of CASE expressions

Aggregation of Data via Aggregate Functions

  • Core aggregate functions
  • Handling of NULL values in aggregate operations
  • Application of 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 the GROUPING function
  • Application of the GROUPING SETS operator
  • Creating crosstabs using PIVOT

Retrieval of Data from Multiple Tables

  • Overview of join types
  • Application of table aliases
  • Execution of INNER JOINs
  • Implementation of LEFT, RIGHT, and FULL OUTER JOINs

Application of Set Operators

  • Use of the UNION operator
  • Use of the UNION ALL operator
  • Use of the INTERSECT operator
  • Use of the EXCEPT operator

Implementation of Subqueries

  • Contexts and locations for subquery execution
  • Differentiation between single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Incorporation of aggregate functions within subqueries
  • Operators for multi-row subqueries, including IN, ALL, and ANY
  • Construction of recursive subqueries

Utilization of Analytic Functions

  • Operational purposes of analytic functions
  • Window functions and window definitions
  • Partitioning of data
  • Application of ranking functions
  • Implementation of LAG and LEAD functions
  • Use of FIRST_VALUE and LAST_VALUE functions
  • Application of the STRING_AGG function
  • Statistical functions for data analysis

Requirements

Participants are required to possess substantial professional proficiency in foundational SQL and Microsoft SQL Server, demonstrating the ability to:

  • Compose basic SELECT statements to retrieve data from single or multiple tables.
  • Implement WHERE clauses and standard filtering criteria.
  • Utilize common SQL functions, including those for character, numeric, and date manipulation.
  • Apply basic data type definitions and conversions.
  • Execute fundamental JOIN operations.
  • Apply aggregate functions such as COUNT, SUM, AVG, MIN, and MAX.
  • Demonstrate understanding and application of GROUP BY and HAVING clauses.
  • Exhibit practical experience in database management, data analysis, or reporting.

This is an advanced-level curriculum; participants are expected to be proficient in fundamental SQL concepts prior to engaging with complex topics such as subqueries, advanced aggregation, set operators, and analytic/window functions.

Audience

This course is developed for data analysts and developers of reporting applications for government use.

Number of participants


Price per participant

Testimonials (4)

Upcoming Courses

Related Categories