Transact-SQL Querying

by Ultimate IT Courses Claim Listing

In this module, you will learn about the basics of the Transact-SQL (T-SQL) language, as well as the general properties and terminology of relational databases.

$1495

Contact the Institutes

Fill this form

Advertisement

Ultimate IT Courses Logo

img Duration

2 Days

Course Details

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.

 

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 the 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

After completing this module, students will be able to:

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

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

  • Write SELECT statements to retrieve data from a relational database table

  • Understand basic datatypes and how they are used

  • Understand the basics of NULL values

 

Module 2: Sorting and Filtering Query Results

In the module, you will learn how to control what data is returned and 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

After completing this module, students will be able to:

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

  • Add a TOP clause to limit the ordered rows returned

  • Page the sorted data with OFFSET-FET

  • Write WHERE clauses to filter the rows returned

  • Use DISTINCT to eliminate duplicate rows in the results

 

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

After completing this module, students will be able to:

  • Write queries accessing data from multiple tables using JOIN operations

  • Understand the differences between the types of JOIN operations: INNER JOIN, OUTER JOIN, CROSS JOIN

  • Understand how to join a table to itself with a self-join

  • Write subqueries within a SELECT statement

  • Understand the difference between scalar and multi-valued subqueries

  • Understand the difference between correlated and self-contained 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

After completing this module, students will be able to:

  • Write queries using scalar functions

  • Write queries using aggregate functions

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

  • Understand how HAVING is used to filter groups of rows

 

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

After completing this module, students will be able to:

  • Insert data into an existing table

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

  • Modify data using the UPDATE statement

  • Delete data using the DELETE statement

  • Modify data using MERGE to synchronize two tables

 

Who Should Attend?

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.

 

Course Objectives

  • 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 return data values

  • Create groups of data and aggregate the results

  • Ottawa Branch

    451-207 Bank Street, Ottawa

Check out more Database Management courses in Canada

Practicum Canada Logo

SQL Server - Development

SQL Server courses are offered by Practicum Canada. Practicum Canada has highly skilled and proficient professionals with over 20 years of industry and academic experience. We are equipped with innate abilities to instill academic and professional expertise.

by Practicum Canada [Claim Listing ]
  • Price
  • Start Date
  • Duration
Net Soft College of Technology Logo

Administering a SQL Database Infrastructure

NetSoft’s Cloud Engineer Program trains students in administering a SQL database infrastructure. It enables students to gain the proficiency needed to harness the power of these products and other cloud and DevOps tools.

by Net Soft College of Technology [Claim Listing ]
Camosun Coastal Centre Logo

Database 12c Administration Workshop

Database 12c Administration course is offered by Camosun Coastal Centre. The Camosun Coastal Centre (CCC) brokers training to enhance workforce development in the shipbuilding industry.

by Camosun Coastal Centre [Claim Listing ]
Launchpad Learning Logo

SQL

SQL course training is offered by Launchpad Learning for adults. Launchpad Learning has a lot to offer. We have many years of experience helping students from Mount Royal University, University of Calgary and SAIT.

by Launchpad Learning [Claim Listing ]
HiTech Institute Logo

Integrating Data Encryption into a Microsoft® SQL Server™ 2005

In this course, you apply guidelines and considerations for securing data using encryption and certificates. You describe various data encryption policies. Finally, you determine a key storage method.

by HiTech Institute [Claim Listing ]

© 2024 coursetakers.com All Rights Reserved. Terms and Conditions of use | Privacy Policy