Narrated ‘Ali bin Abi Talib (RA): The Prophet (RA) stood up for a funeral (to show respect) and thereafter he sat down. (Dawud)

Browse Categories

Browse Categories

Querying Data with Microsoft Transact-SQL DP-080T00

4.5/5

Learn the basics of Microsoft’s dialect of the standard SQL language: Transact-SQL with DP-080T00: Querying Data with Microsoft Transact-SQL. 2 days of this Querying Data with Microsoft Transact course includes 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. This course will create value for the ones that need 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. Moreover, it is useful for others peripherally involved with data, or wanting to learn more about working with data such as solution architects, students, and technology managers.

Training Options

Classroom Training

Online Instructor Led

Onsite Training

Course Information

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

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, 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.

» Show More 👇

Lessons

  • Sorting query results
  • Filtering the data

Lab : Sort and filter data returned by SELECT queries

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

Lab : Write queries with JOIN operations

Lab : Write SELECT statements 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 type 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

Lab : Built-in functions

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

Lab : Modify 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

» Show Less 👆

Audience Profile

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.

Q: What is Transact SQL used?

A: Transact SQL is the query language specific to the Microsoft SQL Server product. It helps us to perform operations like retrieving the data from a single row, inserting new rows, and retrieving multiple rows. 

Q: What is Microsoft Transact SQL?

A: Transact-SQL is a set of programming extensions from Sybase and Microsoft that add different features to the Structured Query Language (SQL), including transaction control, exception and error handling, row processing, and declared variables.

Q: Does SQL Server use Transact SQL?

A: Transact SQL is an extension of the SQL language used primarily within Microsoft SQL Server. 

Q: What is azure Transact SQL?

A: Azure Synapse SQL is a big data analytic service that allows you to query and examine your data using the T-SQL language.

100% Business Fulfilment

Request more Information

    Corporate Training Options

    Classroom Training

    Customized to your Team’s needs

    Onsite Training

    Deliver at your Work Location

    Online Instructor Led

    Connect Online from Anywhere

    What People say?

    Mohammed Aljbreen Operation Specialist, SAMA

    The Clarity of the Content was very good. The explanation of the trainer with in-depth knowledge in a proper flow really impressed me to give 5 star rating.

    Arindam Chakraborty Systems Specialist, King Abdullah University of Sciences & Technology

    The Instructor was really impressive. Clear cut explanation of every topic he covered with real time scenarios.

    Sher Afzal Khan Cloud Engineer, Cloud 9 Networks

    The Trainer and the Course Material, both are good. Good flow of explanation with simple examples. The complete training was focused on current industry challenges.

    Jawed Ahmad Siddiqui Sr. System Administrator, Saudi Ceramics

    The Trainer’s presentation was impressed me to continue the course till end. Never feel bore till the entire sessions. She studied our mindset and follows.

      Not sure,
      which course to choose?

      Our Clients across the Globe!

      Our Corporate Clients