Querying Data with Transact-SQL

$2,495.00

Duration Five Days

Description

MS-20761 – Querying Data with Transact-SQL

This course 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.

THIS COURSE USES ONLY DIGITAL CURRICULUM

PREREQUISITES

Basic knowledge of the Microsoft Windows operating system and its core functionality.

  • Working knowledge of relational databases.

DETAILED CLASS SYLLABUS

MODULE 1: INTRODUCTION TO MICROSOFT SQL SERVER

The Basic Architecture of SQL Server
SQL Server Editions and Versions
Getting Started with SQL Server Management Studio

MODULE 2: INTRODUCTION TO T-SQL QUERYING

Introducing T-SQL
Understanding Sets
Understanding Predicate Logic
Understanding the Logical Order of Operations in SELECT statements

MODULE 3: WRITING SELECT QUERIES

Writing Simple SELECT Statements
Eliminating Duplicates with DISTINCT
Using Column and Table Aliases
Writing Simple CASE Expressions

MODULE 4: QUERYING MULTIPLE TABLES

Understanding Joins
Querying with Inner Joins
Querying with Outer Joins
Querying with Cross Joins and Self Joins

MODULE 5: SORTING AND FILTERING DATA

Sorting Data
Filtering Data with Predicates
Filtering Data with TOP and OFFSET-FETCH
Working with Unknown Values

MODULE 6: WORKING WITH SQL SERVER DATA TYPES

Introducing SQL Server Data Types
Working with Character Data
Working with Date and Time Data

MODULE 7: USING DML TO MODIFY DATA

Adding Data to Tables
Modifying and Removing Data
Generating automatic column values

MODULE 8: USING BUILT-IN FUNCTIONS

Writing Queries with Built-In Functions
Using Conversion Functions
Using Logical Functions
Using Functions to Work with NULL

MODULE 9: GROUPING AND AGGREGATING DATA

Using Aggregate Functions
Using the GROUP BY Clause
Filtering Groups with HAVING

MODULE 10: USING SUBQUERIES

Writing Self-Contained Subqueries
Writing Correlated Subqueries
Using the EXISTS Predicate with Subqueries

MODULE 11: USING TABLE EXPRESSIONS

Using Views
Using Inline Table-Valued Functions
Using Derived Tables
Using Common Table Expressions

MODULE 12: USING SET OPERATORS

Writing Queries with the UNION operator
Using EXCEPT and INTERSECT
Using APPLY

MODULE 13: USING WINDOWS RANKING, OFFSET, AND AGGREGATE FUNCTIONS

Creating Windows with OVER
Exploring Window Functions

MODULE 14: PIVOTING AND GROUPING SETS

Writing Queries with PIVOT and UNPIVOT
Working with Grouping Sets

MODULE 15: EXECUTING STORED PROCEDURES

Querying Data with Stored Procedures
Passing Parameters to Stored procedures
Creating Simple Stored Procedures
Working with Dynamic SQL

MODULE 16: PROGRAMMING WITH T-SQL

T-SQL Programming Elements
Controlling Program Flow

MODULE 17: IMPLEMENTING ERROR HANDLING

Implementing T-SQL error handling
Implementing structured exception handling

MODULE 18: IMPLEMENTING TRANSACTIONS

Transactions and the database engines
Controlling transactions