Study Guide - Exam 70-761
Study Guide - Exam 70-761
Section 1 (Quiz 1)
Lesson
Number Name Goal Items
SQL Overview
Get started using SQL Server by downloading, installing SQL Server, and using the AdventureWorks database.
1 What is SQL Server Understand what are the major SQL Server Architecture
pieces in SQL Server SQL Server Editions and Version.
2 Get Started Using Install SQL Server Download and Install SQL Server and SSMS.
SQL Server
3 Using SSMS (SQL Understand SSMS basic Getting Started with SQL Server Management
Server functions. Studio
Management Creating and Organizing T-SQL scripts
Studio )
Writing Select Queries
Learn to write query a table and return one or more column values.
4 Writing Select Write a basic query Writing Simple SELECT Statements
Queries Using Column and Table Aliases
Eliminating Duplicates with DISTINCT
Sorting Data
Sort data returned from a query.
5 Order Data Sort data by ascending and ORDER BY
descending values ASC and DESC
6 Limit Results with Return the first rows from a TOP
Top result.
7 Paging with OFFSET Understand how to return the OFFSET
and FETCH middle portion of a result. FETCH
Filtering Data
Not all data is relevant, learn how to exclude those entries you dont need.
Section 1 (Quiz 1)
Lesson
Number Name Goal Items
8 Introduction to Understand the function of the WHERE clause
Filtering WHERE Clause Comparison operators
BETWEEN and IN
9 Boolean Logic Learn to write filters with Learn to use AND, OR, and NOT.
multiple filter conditions Learn to use together and under order of
evaluation.
10 Pattern Matching Understand how to use the LIKE LIKE operator
operator to partially match data Apply wild cards
Review Lessons
Section 2 (Quiz 2)
Lesson
Number Name Goal Items
Data Types
Understand how SQL stored and organizes dates, numbers, and text. Data types define the characteristics of the data that can be
stored in a location such as a database column. A data type defines the possible set of values that are accepted.
Section 3 (Quiz 3)
Lesson
Number Name Goal Items
Built-In Functions
Built-In functions are used in SQL SELECT expressions to calculate values and manipulate data. These functions can be used
anywhere expressions are allowed. Common uses of functions include to change a name to all upper case.
4 Introduction How are functions used. What is Categories of Functions
the difference between How to use Functions
deterministic and non- Deterministic and non-deterministic functions
deterministic functions?
5 CASE Statement Understand practical uses of the CASE
CASE statement in the SELECT
statement.
6 Data Type Understand how to convert data CAST
Conversion from one data type to another. CONVERT
8 Math Functions To know that math rocks! Learn common math functions such as: SQRT,
SQIARE, CEILOMNG, FLOOR, ROUND, ABS, SIGN,
RAND
9 String Functions Learn to alter a text value, such Learn common string functions such as:
as removing the first name from CHARINDEX, LEN, LEFT, LOWER, LTRIM,
REPLACE, RGHT, RTRIM, SUBSTRING, UPPER
a full name.
10 Date Functions Manipulate date values Learn how to use functions such as GETDATE,
DATENAME, DATEPART, DAY, MONTH, YEAR,
DATEDIFF, and DATEADD
Section 3 (Quiz 3)
Lesson
Number Name Goal Items
Review Lessons
Section 4 (Quiz 4)
Lesson
Number Name Goal Items
Grouping and Aggregating Data
Learn to group and summarize data. Use SQL to calculate averages and subtotals.
1 Aggregate Understand to how to use Learn about AVERAGE, COUNT, SUM, MIN, and
Functions functions to summarize data in MAX
your SELECT list
2 Grouping Data Use GROUP BY to collect data GROUP BY
into rows of unique values
3 Filtering Grouped Learn how HAVING is used to HAVING
Data filter aggregate function results.
Know the difference between
WHERE and HAVING.
Set Operators
Understand how to take rows from two or more queries and combine them into a single result.
Section 4 (Quiz 4)
Lesson
Number Name Goal Items
7 Introduction Understand what is a join and What is a Join?
when to use them. Ware are typical uses?
11 Join Conditions Explain when to use non-equi Joining two or more columns
joins. Non-equi joins
Review Lessons
Section 5 (Quiz 5)
Lesson
Number Name Goal Items
Subqueries
Subqueries provide a powerful means to combine data from two tables in to a single result. In this unit you learn and understand how to
use subqueries in various parts of the SQL SELECT statements.
1 Introduction Explain what is a subquery and Subqueries are enclosed in ()s
how it differs from a join. A subquery that returns a single value can be used
anywhere you would use an expression.
2 Subquery in SELECT Write a subquery in a SELECT Subqueries in select lists must return a single result.
statement.
3 Correlated Understand how the results of a Correlated subqueries are ways to incorporate the
Subqueries subquery can be affected by outer querys values into the subquerys clauses.
Correlated subqueries versus Inner Joins
values in the outer query.
4 Subquery in WHERE Explain how subqueries can be EXISTS versus NOT EXISTS
clause used to filter results. IN versus NOT IN
ANY
ALL
5 Subquery in FROM User derived tables in the FROM Derived tables and aggregate functions
Clause clause. Joining derived tables.
Section 5 (Quiz 5)
Lesson
Number Name Goal Items
8 Recursive CTEs Get comfortable with CTE that CTEs that reference them selves
can call themselves. Use CTEs to display a hierarchy.
Review Lessons
Section 6 (Quiz 6)
Lesson
Number Name Goal Items
Modifying Data
Create, remove, and modify rows within a table.
Window Functions
Understand how to create running and sliding totals.
Section 6 (Quiz 6)
Lesson
Number Name Goal Items
7 Writing queries Understand how to display the RANK
with Ranking quartile of each member in an NTITLE
Functions ordered set of quantitative data, DENSE_RANK
ROW_NUMBER
such as Sales Year To Date data.
8 Using Offset Access data from the previous or LAG
Functions next row in a result without LEAD
having to use joins. FIRST_VALUE
LAST_VALUE
9 Window Aggregate Understand how to use various Learn about aggregate functions such as AVG,
Functions aggregate functions with the COUNT, STDEV, MIN, and MAX
OVER clause.
10 Window Analytic Understand how to use various CUME_DIST
Functions analytic functions with the OVER Percentile ranking functions
clause.
Pivoting and Grouping
Transform table row values into columns and vice versa.
Section 7 (Quiz 7)
Lesson
Number Name Goal Items
Stored Procedures
Write procedural code to execute and process SQL statements
Section 7 (Quiz 7)
Lesson
Number Name Goal Items
7 Apply Match one tables set of rows CROSS APPLY
against the results of an inline OUTER APPLY
table-valued function.
Error Handling
Detect and manage errors encountered as stored procedures and user defined functions execute.
Section 8 (Quiz 8)
Lesson
Number Name Goal Items
Transaction and Isolation Levels
SQL operations can be run independently of other users, but to do so, requires some resources to be locked. This prevents two
people from working on the same item. The degree you lock and isolate these operations, affects what others see of
uncommitted transactions and how long they wait until they have full access to read or write to the same resources.
1 Introduction Understand the relationship What is a transaction?
between Transactions, Locks, and What are locks?
Isolations Levels Isolation level overview.
2 Database Write a statement to save a BEGIN TRANSACTION
Transactions transaction, and if there is an COMMIT
error, rollback the changes. ROLLBACK
3 Database Locks Explain how locks affect resource Intent shared (IS)
availability amongst concurrent Intent exclusive (IX)
transactions. Intent update (IU)
Shared intent update (SIU)
Update intent exclusive (UIX)
4 Isolation Levels Understand how isolation affect READ UNCOMMITTED
the visibility uncommitted data READ COMMITTED
changes to operation within and REPEATABLE READ
outside the scope of a SNAPSHOT
transaction. SERIALIZABLE
Review Lessons
Section 9 (Quiz 9)
Lesson
Number Name Goal Items
Creating Tables and Views
Build database tables and views.
1 Create and Modify Create table with primary key CREATE TABLE
Tables defined and then modify a ALTER TABLE
column to another datatype.
2 Create and Modify Create a view which uses a join CREATE VIEW
Views to present data from multiple ALTER VIEW
tables.
3 Deleting Objects Drop is dangerous. DROP
Temporal Tables
System versioned temporal tables contain all changes made to a database table and allow for easy point-in-time analysis of data. The
tables maintain a full history of changes.
4 Overview Understand what are temporal What is a temporal table.
tables and why they are useful. Know why you would want to use a temporal table.
Section 9 (Quiz 9)
Lesson
Number Name Goal Items
7 Influencing Query How does data modification INSERT
Plans affect a temporal table? UPDATE
DELETE
MERGE
Database Integrity
Understand what methods are available to preserve database integrity.
4 Indexing XML Data Understand how to make XML CREATE XML INDEX
queries run faster.
JSON (JavaScript Object Notation)
Work with JSON data within the context of SQL Server
5 Work with JSON Extract values from JSON text JSON_VALUE
text and use them in queries. JSON QUERY
ISJSON
6 Export JSON Data Export JSON data to the file FOR JSON
system.
7 Analyze JSON data Filter or Aggregate JSON data OPENJSON
using SQL Queries.