Querying Data With Transact‐SQL
Querying Data With Transact‐SQL
Course Outline
This module introduces SQL Server, the versions of SQL Server, including cloud versions, and
how to connect to SQL Server using SQL Server Management Studio.
Lessons
The Basic Architecture of SQL Server
This module introduces the elements of T‐SQL and their role in writing queries, describes the
use of sets in SQL Server, describes the use of predicate logic in SQL Server, and describes the
logical order of operations in SELECT statements.
Lessons
Introducing T‐SQL
Understanding Sets
This module introduces the fundamentals of the SELECT statement, focusing on queries
against a single table.
Lessons
Writing Simple SELECT Statements
This module explains how to write queries which combine data from multiple sources in SQL
Server. The module introduces the use of JOINs in T‐SQL queries as a mechanism for retrieving
data from multiple tables.
Lessons
Understanding Joins
Describe how multiple tables may be queried in a SELECT statement using joins.
This module explains how to enhance queries to limit the rows they return, and to control the
order in which the rows are displayed. The module also discusses how to resolve missing and
unknown results.
Lessons
Sorting Data
Filtering Data with Predicates
This module explains the data types SQL Server uses to store data. It introduces the many
types of numeric and special‐use data types. It also explains conversions between data types,
and the importance of type precedence.
Lessons
Introducing SQL Server 2016 Data Types
This module describes the use of Transact‐SQL Data Manipulation Language to perform
inserts, updates, and deletes to your data.
Lessons
Inserting Data
This module introduces the use of functions that are built in to SQL Server Denali, and will
discuss some common usages including data type conversion, testing for logical results and
nullability.
Lessons
Writing Queries with Built‐In Functions
This module introduces methods for grouping data within a query, aggregating the grouped
data and filtering groups with HAVING. The module is designed to help the student grasp why
a SELECT clause has restrictions placed upon column naming in the GROUP BY clause as well
as which columns may be listed in the SELECT clause.
Lessons
Using Aggregate Functions
Use the HAVING clause to filter out groups based on a search condi擙쵵on.
This module will introduce the use of subqueries in various parts of a SELECT statement. It will
include the use of scalar and multi‐result subqueries, and the use of the IN and EXISTS
operators.
Lessons
Writing Self‐Contained Subqueries
Describe the uses of queries which are nested within other queries.
Use the EXISTS predicate to efficiently check for the existence of rows in a subquery.
This module introduces the set operators UNION, INTERSECT, and EXCEPT to compare rows
between two input sets.
Lessons
Writing Queries with the UNION Operator
Using APPLY