MOC 20761B - Querying Data with Transact-SQL

Customized Onsite Training

5
Days
  • Customized Content
  • For Groups of 5+
  • Online or On-location
  • Expert Instructors

Live Online Training

$2,375.00
or 5 vouchers
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video

Upcoming Classes

  • See More Classes

Please select a class.
Overview

This MOC 20761B - Querying Data with Transact-SQL training class is designed to introduce students to Transact-SQL. It is designed in such a way that the first three days can be taught as a course to students requiring the knowledge for other courses in the SQL Server curriculum. Days 4 & 5 teach the remaining skills required to take exam 70-761.

The main purpose of the course is to give students a good understanding of the Transact-SQL language which is used by all SQL Server-related disciplines; namely, Database Administration, Database Development and Business Intelligence. As such, the primary target audience for this course is: Database Administrators, Database Developers and BI professionals.

Goals
  1. Learn to describe key capabilities and components of SQL Server 2016.
  2. Learn to describe T-SQL, sets, and predicate logic.
  3. Learn to write a single table SELECT statement.
  4. Learn to write a multi-table SELECT statement.
  5. Learn to write SELECT statements with filtering and sorting.
  6. Learn to describe how SQL Server uses data types.
  7. Learn to write DML statements.
  8. Learn to write queries that use built-in functions.
  9. Learn to write queries that aggregate data.
  10. Learn to write subqueries.
  11. Learn to create and implement views and table-valued functions.
  12. Learn to use set operators to combine query results.
  13. Learn to write queries that use window ranking, offset, and aggregate functions.
  14. Learn to transform data by implementing pivot, unpivot, rollup and cube.
  15. Learn to create and implement stored procedures.
  16. Learn to add programming constructs such as variables, conditions, and loops to T-SQL code.
Outline
  1. Introduction to Microsoft SQL Server 2016
    1. The Basic Architecture of SQL Server
    2. SQL Server Editions and Versions
    3. Getting Started with SQL Server Management Studio
    4. Lab: Working with SQL Server 2016 Tools
      1. Working with SQL Server Management Studio
      2. Creating and Organizing T-SQL Scripts
      3. Using Books Online
  2. Introduction to T-SQL Querying
    1. Introducing T-SQL
    2. Understanding Sets
    3. Understanding Predicate Logic
    4. Understanding the Logical Order of Operations in SELECT statements
    5. Lab: Introduction to T-SQL Querying
      1. Executing Basic SELECT Statements
      2. Executing Queries that Filter Data using Predicates
      3. Executing Queries That Sort Data Using ORDER BY
  3. Writing SELECT Queries
    1. Writing Simple SELECT Statements
    2. Eliminating Duplicates with DISTINCT
    3. Using Column and Table Aliases
    4. Writing Simple CASE Expressions
    5. Lab: Writing Basic SELECT Statements
      1. Writing Simple SELECT Statements
      2. Eliminating Duplicates Using DISTINCT
      3. Using Column and Table Aliases
      4. Using a Simple CASE Expression
  4. Querying Multiple Tables
    1. Understanding Joins
    2. Querying with Inner Joins
    3. Querying with Outer Joins
    4. Querying with Cross Joins and Self Joins
    5. Lab: Querying Multiple Tables
      1. Writing Queries that use Inner Joins
      2. Writing Queries that use Multiple-Table Inner Joins
      3. Writing Queries that use Self-Joins
      4. Writing Queries that use Outer Joins
      5. Writing Queries that use Cross Joins
  5. Sorting and Filtering Data
    1. Sorting Data
    2. Filtering Data with Predicates
    3. Filtering Data with TOP and OFFSET-FETCH
    4. Working with Unknown Values
    5. Lab: Sorting and Filtering Data
      1. Writing Queries that Filter Data using a WHERE Clause
      2. Writing Queries that Sort Data Using an ORDER BY Clause
      3. Writing Queries that Filter Data Using the TOP Option
  6. Working with SQL Server 2016 Data Types
    1. Writing Queries that Return Date and Time Data
    2. Writing Queries that use Date and Time Functions
    3. Writing Queries That Return Character Data
    4. Writing Queries That Return Character Functions
  7. Using DML to Modify Data
    1. Inserting Data
    2. Modifying and Deleting Data
    3. Lab: Using DML to Modify Data
      1. Inserting Data
      2. Updating and Deleting Data
  8. Using Built-In Functions
    1. Writing Queries with Built-In Functions
    2. Using Conversion Functions
    3. Using Logical Functions
    4. Using Functions to Work with NULL
    5. Lab: Using Built-In Functions
      1. Writing Queries That Use Conversion Functions
      2. Writing Queries that use Logical Functions
      3. Writing Queries that Test for Nullability
  9. Grouping and Aggregating Data
    1. Using Aggregate Functions
    2. Using the GROUP BY Clause
    3. Filtering Groups with HAVING
    4. Lab: Grouping and Aggregating Data
      1. Writing Queries That Use the GROUP BY Clause
      2. Writing Queries that Use Aggregate Functions
      3. Writing Queries that Use Distinct Aggregate Functions
      4. Writing Queries that Filter Groups with the HAVING Clause
  10. Using Subqueries
    1. Writing Self-Contained Subqueries
    2. Writing Correlated Subqueries
    3. Using the EXISTS Predicate with Subqueries
    4. Lab: Using Subqueries
      1. Writing Queries That Use Self-Contained Subqueries
      2. Writing Queries That Use Scalar and Multi-Result Subqueries
      3. Writing Queries That Use Correlated Subqueries and an EXISTS Clause
  11. Using Table Expressions
    1. Using Views
    2. Using Inline Table-Valued Functions
    3. Using Derived Tables
    4. Using Common Table Expressions
    5. Lab: Using Table Expressions
      1. Writing Queries That Use Views
      2. Writing Queries That Use Derived Tables
      3. Writing Queries That Use Common Table Expressions (CTEs)
      4. Writing Queries That Sue Inline Table-Valued Expressions
  12. Using Set Operators
    1. Writing Queries with the UNION operator
    2. Using EXCEPT and INTERSECT
    3. Using APPLY
    4. Lab: Using Set Operators
      1. Writing Queries That Use UNION Set Operators and UNION ALL
      2. Writing Queries That Use CROSS APPLY and OUTER APPLY Operators
      3. Writing Queries That Use the EXCEPT and INTERSECT Operators
  13. Using Windows Ranking, Offset, and Aggregate Functions
    1. Creating Windows with OVER
    2. Exploring Window Functions
    3. Lab: Using Windows Ranking, Offset, and Aggregate Functions
      1. Writing Queries that use Ranking Functions
      2. Writing Queries that use Offset Functions
      3. Writing Queries that use Window Aggregate Functions
  14. Pivoting and Grouping Sets
    1. Writing Queries with PIVOT and UNPIVOT
    2. Working with Grouping Sets
    3. Lab: Pivoting and Grouping Sets
      1. Writing Queries that use the PIVOT Operator
      2. Writing Queries that use the UNPIVOT Operator
      3. Writing Queries that use the GROUPING SETS CUBE and ROLLUP Subclauses
  15. Executing Stored Procedures
    1. Querying Data with Stored Procedures
    2. Passing Parameters to Stored procedures
    3. Creating Simple Stored Procedures
    4. Working with Dynamic SQL
    5. Lab: Executing Stored Procedures
      1. Using the EXECUTE statement to Invoke Stored Procedures
      2. Passing Parameters to Stored procedures
      3. Executing System Stored Procedures
  16. Programming with T-SQL
    1. T-SQL Programming Elements
    2. Controlling Program Flow
    3. Lab: Programming with T-SQL
      1. Declaring Variables and Delimiting Batches
      2. Using Control-Of-Flow Elements
      3. Using Variables in a Dynamic SQL Statement
      4. Using Synonyms
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this SQL Server class:

  • Working knowledge of relational databases.
  • Basic knowledge of the Microsoft Windows operating system and its core functionality.
Preparing for Class

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing

77,549

Students who have taken Live Online Training

15,389

Organizations who trust Webucator for their training needs

100%

Satisfaction guarantee and retake option

9.39

Students rated our trainers 9.39 out of 10 based on 5,225 reviews

Very useful and helpful training.

Alex Perez, Travelclick
Orlando FL

Very good resources for online training in IT fields.

Michael Cheung, n/a
Markham ON

The class I took was very intuitive as well as a pleasant experience.

Paul Leitold, Catalyst360
Horsham PA

Great experience overall.

Gokhan Nas, Dynaventure
Saskatoon SK

Contact Us or call 1-877-932-8228