DP-080T00: Querying Data With Microsoft Transact-SQL
T-SQL mainly used for writing entire program of block function procedure that defines how things need to be complete and creating an application in which each application sending transact query over SQL server and there is no interaction with database.
Training Duration: 2 Days
- Certificate Of Completion Available
- Group Private Class
- VILT Class Available
- SBL-Khas Claimable
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.
- 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
No prerequisites for this course.
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.
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.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
DP-050T00: Migrate SQL Workloads To Azure
In this course, the students will explore the objectives of data platform modernization and how it is suitable for given business requirements. They will also explore each stage of the data platform modernization process and define what tasks are involved at each stage, such as the assessment and planning phase.
DP-060T00: Migrate NoSQL Workloads To Azure Cosmos DBThis course will teach the students what is Cosmos DB and how you can migrate MongoDB and Cassandra workloads to Cosmos DB.
DP-070T00: Migrate Open Source Data Workloads To AzureThis course will enable the students to understand Azure SQL Database, and educate the students on what is required to migrate MySQL and PostgreSQL workloads to Azure SQL Database.
DP090T00: Implementing Machine Learning Solution With Microsoft Azure DatabricksIn this one-day course, you'll learn how to use Azure Databricks to explore, prepare, and model data; and integrate Databricks machine learning processes with Azure Machine Learning.
DP-100T01: Designing And Implementing A Data Science Solution On Azure
This DP-100T01: Designing And Implementing A Data Science Solution On Azure course teaches you to leverage your existing knowledge of Python and machine learning to manage data ingestion and preparation, model training and deployment, and machine learning solution monitoring in Microsoft Azure.
DP-203T00: Data Engineering On Microsoft Azure
In this DP-203T00: Data Engineering On Microsoft Azure course, the student will learn about the data engineering as it pertains to working with batch and real-time analytical solutions using Azure data platform technologies.
DP-300T00: Administering Relational Databases On Microsoft Azure
This DP-300T00: Administering Relational Databases On Microsoft Azure course provides students with the knowledge and skills to administer a SQL Server database infrastructure for cloud, on-premises and hybrid relational databases and who work with the Microsoft PaaS relational database offerings.