Length
2 days
Version
A

Overview

This two-day 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.

Please note: Microsoft has retired Azure training from the Software Assurance Training Voucher (SATV) catalogue. From 1st February 2020 we are no longer able to accept SATVs for this course.

Key Topics

Detailed Info
  • Getting Started with Transact-SQL
  • Using Joins and Subqueries
  • Modifying Data
  • Sorting and Filtering Query Results
  • Using Built-in Functions
Skills Gained
Key Topics
Target Audience
Prerequisites

Skills Gained

After completing this course, students will be able to:

  • Use SQL Server query tools
  • Write SELECT statements to retrieve columns from one or more tables
  • Sort and filter selected data
  • Use built-in functions to returned data values
  • Create groups of data and aggregate the results
  • Modify data with Transact-SQL using INSERT, UPDATE, DELETE and MERGE

Key Topics

Module 1: Getting Started with Transact-SQL
In this module you will learn about the basics of the Transact-SQL (T-SQL) language, as well as general properties and terminology of relational databases. This module will also introduce the basic SELECT statement for retrieving data from a table.

Lessons

  • Introduction to Transact-SQL
  • Using the SELECT statement

Lab : Get started with SQL Server query tools and writing queries in T-SQL

Module 2: Sorting and Filtering Query Results
In the module you will learn how to control what data is returned, the order in which it is returned. You will use the ORDER BY clause, with and without paging. You will learn about various kinds of filters that can be used in the WHERE clause to control which data rows are returned. You will also learn how to manage the results by removing duplicates with DISTINCT.

Lessons

  • Sorting query results
  • Filtering the data

Lab : Sort and filter data returned by SELECT queries

Module 3: Using Joins and Subqueries
In this module, you will explore T-SQL queries which access data from multiple tables with various kinds of JOIN operations and simple subqueries.

Lessons

  • Using JOIN operations
  • Using subqueries

Lab : Write queries with JOIN operations
Lab : Write SELECT statements using subqueries

Module 4: Using Built-in Functions
In the module you will explore the use of built-in functions for returning computed or special values in the SELECT list or in the WHERE clause. Functions include math functions, string functions and system functions. There are other types of functions that will be mentioned, but not discussed in detail. You will also learn how to combine rows of data into a single group, providing summary information for the group such as SUM, MIN or MAX.

Lessons

  • Getting started with scalar functions
  • Grouping aggregated results

Lab : Built-in functions

Module 5: Modifying Data
In this module, you will learn the T-SQL statements for modifying table data including UPDATE, DELETE and MERGE as well as various options for INSERT including creating a new table with data from an existing table. You will also look at how to have the system automatically supply values for columns as the data is inserted.

Lessons

  • Inserting data into tables
  • Modifying and deleting data

Lab : Modify data

Target Audience

This course can be valuable for anyone who needs to write basic SQL or Transact-SQL queries. This includes anyone working with data as a data analyst, a data engineer, a data scientist, a database administrator or a database developer.

It can also be useful for others peripherally involved with data, or wanting to learn more about working with data such as solution architects, students and technology managers.

We can also deliver and customise this training course for larger groups – saving your organisation time, money and resources. For more information, please call us at +632 8244 2098 or email [email protected]

 

Prerequisites

  • Basic knowledge of the Microsoft Windows operating system and its core functionality.
  • Working knowledge of relational databases.
Print course details

The supply of this course by DDLS is governed by the booking terms and conditions. Please read the terms and conditions carefully before enrolling in this course, as enrolment in the course is conditional on acceptance of these terms and conditions.

Book Your Course

Virtual Classroom
October 21 2021 - October 22 2021
November 10 2021 - November 11 2021
December 20 2021 - December 21 2021
January 24 2022 - January 25 2022
March 17 2022 - March 18 2022

Email Course Outline
Request a Callback

Enter your details below and we'll email you a pdf of the course outline.

Enter your details below and one of our team will give you a call to answer any questions you may have.