651-905-3729 Microsoft Silver Learning Partner EC Counsel Reseller compTIA Authorized Partner

Writing Analytical Queries for Business Intelligence (55232)

3 Days

Description

How do you transform complex tables into clean, analysis-ready datasets?

This training course teaches you how to write analytical queries using Transact-SQL (T-SQL) for business intelligence (BI) workflows. You’ll learn to manipulate columns, combine tables, aggregate results, and encapsulate logic in reusable views and procedures. With a focus on BI scenarios, the course prepares you to deliver clean, structured datasets to tools like Power BI, Excel, SSRS, and RStudio.

Course Objectives

After completing this course, you will be able to build efficient SQL queries tailored for business intelligence and data analysis needs. The training emphasizes reusable logic, data encapsulation, and structured output delivery.

  • Understand the five types of requirements for BI querying
  • Combine and reshape data across multiple tables
  • Define the correct aggregation level with GROUP BY and HAVING
  • Use CTEs, subqueries, and derived tables for cleaner logic
  • Create views and functions to streamline data access
  • Deliver datasets to BI tools like Power BI and Excel

Who Should Attend?

This course is intended for information workers and data science professionals who seek to use database reporting and analysis tools such as Microsoft SQL Server Reporting Services, Excel, Power BI, R, SAS and other business intelligence tools, and wish to use TSQL queries to efficiently retrieve data sets from Microsoft SQL Server relational databases for use with these tools.

Upcoming Classes

Virtual Classroom Live
March 18, 2026

$1,395.00
  Featured Class 3 Days    8 AM CT - 4 PM CT
view class details and enroll
Virtual Classroom Live
July 08, 2026

$1,395.00
  Featured Class 3 Days    8 AM CT - 4 PM CT
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Course Overview

Module 1: Introduction to T-SQL for Business Intelligence

  • SQL programming approaches: transactional vs analytical
  • The database engine and SSMS
  • Introduction to SELECT queries
  • Using the CarDeal sample database
  • Lab: Intro to T-SQL for BI

Module 2: SELECT Expressions, WHERE, and ORDER BY

  • Column expressions, data types, and built-in functions
  • Column/table aliases and conversions
  • Using WHERE and ORDER BY clauses
  • Lab: Write filtering and sorting queries

Module 3: JOIN Operators and Combining Tables

  • Primary/foreign key relationships
  • CROSS JOIN, INNER JOIN, OUTER JOIN variations
  • Multi-table joins and nested joins
  • Combining JOINs with WHERE and ORDER BY
  • Lab: Write multi-table SELECT queries

Module 4: Aggregating with GROUP BY

  • Defining aggregation level and granularity
  • COUNT, SUM, AVG, and other aggregate functions
  • GROUP BY and HAVING usage
  • Lab: Write grouped and aggregated queries

Module 5: Subqueries, Derived Tables, and CTEs

  • Writing correlated and non-correlated subqueries
  • Using derived tables in FROM clauses
  • Structuring logic with common table expressions (CTEs)
  • Lab: Create reusable query logic

Module 6: Encapsulating Data Retrieval Logic

  • Creating and using views
  • Table-valued functions and stored procedures
  • Creating read-access objects for analytical clients
  • Lab: Build encapsulated SQL logic

Module 7: Getting Your Dataset to the Client

  • Connecting SQL Server to Excel, Power BI, and RStudio
  • Exporting with SSMS, bcp utility, and Import/Export Wizard
  • Best practices for client-ready data delivery
  • Lab: Export datasets and connect to BI tools

Upcoming Classes

Virtual Classroom Live
March 18, 2026

$1,395.00
  Featured Class 3 Days    8 AM CT - 4 PM CT
view class details and enroll
Virtual Classroom Live
July 08, 2026

$1,395.00
  Featured Class 3 Days    8 AM CT - 4 PM CT
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date

Prerequisites

Setting learning of information examination and business knowledge situations. For instance, a comprehension of a business-related business knowledge venture or need. Fundamental information of the Windows working framework and its center usefulness, including document framework route. Essential comprehension of the reason for social database administration frameworks, for example, SQL Server.

Upcoming Classes

Virtual Classroom Live
March 18, 2026

$1,395.00
  Featured Class 3 Days    8 AM CT - 4 PM CT
view class details and enroll
Virtual Classroom Live
July 08, 2026

$1,395.00
  Featured Class 3 Days    8 AM CT - 4 PM CT
view class details and enroll
Private Training Available
No date scheduled, don’t see a date that works for you or looking for a private training event, please call 651-905-3729 or submit a request for further information here.
request a private session or new date