Querying Data with Microsoft Transact-SQL

Duration: Hours

Enquiry


    Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

    Training Mode: Online

    Description

    T-SQL (Transact-SQL) is a set of programming extensions from Sybase and Microsoft that add several features to the Structured Query Language (SQL).

    Transact-SQL Course outline

    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

    1. Introduction to Transact-SQL
    2. 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:
    1. Using a query tool to write and execute queries in Transact-SQL
    2. Understand the basic concepts of relational database and the T-SQL language
    3. Write SELECT statements to retrieve data from a relational database table
    4. Understand basic datatypes and how they are used
    5. Understand the basics of NULL values

    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. In this you also learn how to manage the results by removing duplicates with DISTINCT.

    Lessons

    1. Sorting query results
    2. Filtering the data

    Lab : Sort and filter data returned by SELECT queries

    After completing this module, students will be able to:
    1. Use ORDER BY to sort results from a T-SQL SELECT statement
    2. Add a TOP clause to limit the ordered rows returned
    3. Page the sorted data with OFFSET-FET
    4. Write WHERE clauses to filter the rows returned
    5. Use DISTINCT to eliminate duplicate rows in the results

    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

    1. Using JOIN operations
    2. Using subqueries

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

    After completing this module, students will be able to:
    1. Write queries accessing data from multiple tables using JOIN operations
    2. Understand the differences between type of JOIN operations: INNER JOIN, OUTER JOIN, CROSS JOIN
    3. Understand how to join a table to itself with a self-join
    4. Write subqueries within a SELECT statement
    5. Understand the difference between scalar and multi-valued subqueries
    6. Understand the difference between correlated and self-contained subqueries

    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

    1. Getting started with scalar functions
    2. Grouping aggregated results

    Lab : Built-in functions

    After completing this module, students will be able to:
    1. Write queries using scalar functions
    2. Write queries using aggregate functions
    3. Use GROUP BY to combine data into groups based on a common column value
    4. Understand how HAVING is used to filter groups of rows

    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

    1. Inserting data into tables
    2. Modifying and deleting data

    Lab : Modify data

    After completing this module, students will be able to:
    1. Insert data into an existing table
    2. Specify that a column should be automatically populating with an IDENTITY or a SEQUENCE value
    3. Modify data using the UPDATE statement
    4. Delete data using the DELETE statement
    5. Modify data using MERGE to synchronize two tables

     

    For more inputs on Querying Data with Microsoft Transact SQL Training/staffing  you can connect here.
    Contact the L&D Specialist at Locus IT.

    Locus Academy has more than a decade experience in delivering the training/staffing on Transact SQL  for corporates across the globe. The participants for the training/staffing on Transact SQL are extremely satisfied and are able to implement the learnings in their on going projects.

    Reviews

    There are no reviews yet.

    Be the first to review “Querying Data with Microsoft Transact-SQL”

    Your email address will not be published. Required fields are marked *

    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.

    Enquiry


      Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,