Querying Data with Microsoft Transact-SQL

Master the essentials of Transact-SQL to unlock your data analysis potential with Microsoft SQL Server, Azure SQL Database, and Azure Synapse Analytics—ideal for data analysts, data engineers, and database administrators.

Course Thumbnail

Essential Skills Gained

Checkmark

Design efficient queries to access and manipulate SQL databases.

Checkmark

Implement complex data retrieval using joins and subqueries.

Checkmark

Understand built-in functions for data manipulation and aggregation.

Checkmark

Modify database content with various T-SQL operations.

Format

  • Instructor-led
  • 2 days with lectures and hands-on labs.

Audience

  • Data Analysts
  • Data Engineers
  • Database Administrators
  • Data Scientists

Description

This course will teach the basics of Microsoft's dialect of the standard SQL language: Transact-SQL. Topics include both querying and modifying data in relational databases that are hosted in Microsoft SQL Server-based database systems, including: Microsoft SQL Server, Azure SQL Database and, Azure Synapse Analytics.

Calendar icon

Upcoming Course Dates

No upcoming dates. Please check back later.

Course Outline

Download PDF

Module 1: Getting Started with Transact-SQL

  1. Introduction to Transact-SQL

  2. Using the SELECT statement

  3. Using a query tool to write and execute queries in Transact-SQL.

  4. Understand the basic concepts of relational database and the T-SQL language.

  5. Write SELECT statements to retrieve data from a relational database table.

  6. Understand basic datatypes and how they are used.

  7. Understand the basics of NULL values.

Module 2: Sorting and Filtering Query Results

  1. Sorting Query Results

  2. Filtering the Data

  3. Use ORDER BY to sort results from a T-SQL SELECT statement.

  4. Add a TOP clause to limit the ordered rows returned.

  5. Page the sorted data with OFFSET-FET.

  6. Write WHERE clauses to filter the rows returned.

  7. Use DISTINCT to eliminate duplicate rows in the results.

Module 3: Using Joins and Subqueries

  1. Using JOIN Operations

  2. Using Subqueries

  3. Write queries accessing data from multiple tables using JOIN operations.

  4. Understand the differences between type of JOIN operations: INNER JOIN, OUTER JOIN, CROSS JOIN.

  5. Write subqueries within a SELECT statement.

  6. Understand the difference between scalar and multi-valued subqueries.

Module 4: Using Built-in Functions

  1. Getting started with Scalar Functions

  2. Grouping Aggregated Results

  3. Write queries using scalar functions.

  4. Write queries using aggregate functions.

  5. Use GROUP BY to combine data into groups based on a common column value.

  6. Understand how HAVING is used to filter groups of rows.

Module 5: Modifying Data

  1. Inserting Data into Tables

  2. Modifying and Deleting Data

  3. Insert data into an existing table.

  4. Specify that a column should be automatically populating with an IDENTITY or a SEQUENCE value.

  5. Modify data using the UPDATE statement.

  6. Delete data using the DELETE statement.

  7. Modify data using MERGE to synchronize two tables.

Your Team has Unique Training Needs.

Your team deserves training as unique as they are.

Let us tailor the course to your needs at no extra cost.