Need a private training for your team? Request a private training
Not ready to book yet? Request an offer
Before you can get started writing T-SQL code, you must master the tool that we will mainly use throughout this classroom training: SQL Server Management Studio.
The SELECT statement is used to retrieve data from tables and views, often with filtering and sorting applied to shape the result set. This module also introduces expressions for creating computed columns, as well as set operations to combine or compare results from multiple queries.
Often the data stored in the database is more detailed than the result we are interested in. This module shows how to aggregate multiple values into a group, and how to compute aggregated values on top of these groups.
Most operational databases are normalized: the data is spread over multiple tables. But when building reports, we need to join these different tables to get the answer we need. That's why mastering the different techniques to combine tables in a single result is crucial. In this module we cover two important ways: via joins and via nested queries.
Data types directly affect how values are stored, compared, and calculated in T‑SQL. This module explains commonly used data types, how conversions occur, and why type precedence matters when working with expressions.
Sometimes there is the need to insert new data into the database. Or old data needs an update or has to be deleted. This module shows you the basics of how this can be done.
When querying data, simply retrieving rows is often not enough — you need to summarize, transform, and analyze results directly in SQL. This module introduces advanced T‑SQL functions and operators that enable powerful data reshaping, aggregation, ranking, and analytic calculations to produce more meaningful insights from your queries.
Sometimes queries need more than SELECT statements and require programmatic logic. This module introduces T‑SQL scripting features such as variables and IF…ELSE logic, and shows how stored procedures and functions can be used to reuse logic across your database.
Functions and procedures are ways to abstract away logic. Two
other types of abstractions are introduced in this module: views and
common table expressions (CTE's). Both will be an abstraction of data and
will act as a table in your queries.
Notice that, in the last two modules,
we only cover an introduction into these things. For a in depth coverage
you better attend the
Developing and optimizing SQL Server databases
training.
The goal of this course is to provide students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server. The course covers querying SQL Server 2025 or previous versions as well as Azure SQL Databases.
This course is intended for SQL Server database administrators and developers who are responsible for writing queries but have little to no experience in writing T-SQL code.
This introductory course requires no special skills.