DP-080 Training: Querying SQL Data with Microsoft Transact-SQL

Course: 2705

This course will teach the basics of Microsoft’s dialect of the standard SQL language: Transact-SQL.

Download PDF
  • Duration: 2 days
  • Price: $1,195.00
Get This Course $1,195.00
Scroll to view additional course dates

Reserve Your Seat

  • Virtual instructor Led Training
  • Complete Hands-on Labs
  • Softcopy of Courseware
  • Learning Labs
  • Virtual instructor Led Training
  • Complete Hands-on Labs
  • Softcopy of Courseware
  • Learning Labs
  • You can use your Purchase Card and checkout
  • The GSA Contract Number: 47QTCA20D000D
  • Call 800-453-5961 for details
  • Customize your class
  • Delivery Onsite or Online for your organization
  • Choice of Dates when and where you want
  • Guidance in choosing and customizing your class

Question About this Course?

Querying Data with Microsoft Transact-SQL DP-080  – Course Overview

You will learn the basics of Microsoft’s dialect of the standard SQL language: Transact-SQL. Learn querying and modifying data in relational databases that are hosted in Microsoft SQL Server-based database systems which covers Microsoft SQL Server, Azure SQL Database and, Azure Synapse Analytics.

You will Learn:

  • How to think in an structured way to easily write SQL – this works for: PL/SQL, ANSI SQL, T-SQL, SPL, SQL/PSM, SQL PL
  • Use SQL Server query tools
  • Write SELECT statements to retrieve columns from one or more tables (Union)
  • Sort and filter selected data

Is this the Right Course for You?

This course can be valuable for anyone who needs to write basic SQL or Transact-SQL queries. This is for data analyst, a data engineer, a data scientist, a database administrator or a database developer that is working with data. 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.

Good to know before you attend the class:

Successful Azure Stack Hub students have prior experience with operating systems, virtualization, cloud infrastructure, storage structures, and networking:

  • Understanding of on-premises virtualization technologies, including VMs and virtual networking
  • Network configuration, including TCP/IP, Domain Name System (DNS), virtual private networks (VPNs), firewalls, and encryption technologies
  • And also, of Active Directory concepts, including domains, forests, and domain controllers

Querying Data with Microsoft Transact-SQL DP-080  Course outline

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
  • Lastly, understand the basics of NULL values

Module 2: Sorting and Filtering Query Results

You will learn how to control what data is returned and the order in which it is returned. You will also use the ORDER BY clause, with and without paging and learn about various kinds of filters that can be used in the WHERE clause to control which data rows are returned. Lastly, 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
  • Lastly, 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
  • Lastly, 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 will not be discuss in details. 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
  • Lastly, to 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. Which includes UPDATE, DELETE and MERGE as well as various options for INSERT. And also, creating a new table with data from an existing table and 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
  • Lastly, modify data using MERGE to synchronize two tables


Related Certifications:
Microsoft Certified: Azure Database Administrator Associate
Learning Paths
Credly & Job Opportunities

Question About this Course?

Need help picking the right course?

Contact Us

Call Now

Call Now800-453-5961