MOC 10774, Querying Microsoft SQL Server 2012

This 5 day instructor-led training class is presented by Microsoft training partners to their end customers. Channel Partners nationwide hire proven AMS Subject Matter Expert Microsoft Certified Trainers (MCT’s) to teach on-site or on-line classes.

This class  provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2012. This course is the foundation for all SQL Server-related disciplines; namely, Database Administration, Database Development and Business Intelligence. This course helps people prepare for exam 70-461. Many of the exercises in this course are SQL Azure enabled.

This class is intended for Database Administrators, Database Developers, and Business Intelligence professionals. The course will very likely be well attended by SQL power users who aren’t necessarily database-focused or plan on taking the exam; namely, report writers, business analysts and client application developers.

Goals

  • Learn to write SELECT Queries.
  • Learn to query Multiple Tables.
  • Learn to use Built-In Functions.
  • Learn to use Subqueries.
  • Learn to execute Stored Procedures.
  • Learn to use Set Operators.
  • Learn to implement Error Handling.
  • Learn to implementing Transactions.
  • Learn to use Table Expressions.
  • Learn to sort and Filter Data.
  • Learn to use Window Ranking, Offset and Aggregate
    Functions.
  • Learn to query SQL Server Metadata.
  • Learn to program with T-SQL.
  • Learn to improve Query Performance.

Outline

  1. Introduction to Microsoft SQL Server 2012
    1. SQL Server Denali Architecture
    2. Working with SQL Server Denali Tools
    3. Working with SQL Server Databases
    4. Lab : Working with SQL Server Denali Tools (Azure enabled)
      1. Working with SQL Server
        Management Studio
      2. Exploring with Database Objects
      3. Organizing and Creating
        T-SQL Scripts
      4. Using Books Online
  2. Introduction to Transact-SQL Querying
    1. Introducing Transact-SQL
    2. Understanding Sets
    3. Understanding Predicate Logic
    4. Understanding the Logical Order of Operations in SELECT Statements
    5. Lab : Introduction to Transact-SQL Querying
      1. Executing Basic SELECT Statements
      2. Executing queries which filter data using predicates
      3. Executing queries which 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. Write simple SELECT statements
      2. Eliminate Duplicates using DISTINCT
      3. Use table and column aliases
      4. Use a simple CASE expression
  4. Querying Multiple Tables
    1. Understanding Joins
    2. Querying With Inner Joins
    3. Querying With Outer Joins
    4. Querying Using Self and Cross Joins
    5. Lab : Querying Multiple Tables
      1. Write queries using inner joins
      2. Write queries using multi-table joins
      3. Write queries using self joins
      4. Write queries using outer joins
  5. Sorting and Filtering Data
    1. Sorting Data
    2. Filtering Data
    3. Filtering with the TOP
      and OFFSET-FETCH Options
    4. Working with Unknown Values
    5. Lab : Filtering and Sorting Data
      1. Write queries that filter data using a WHERE clause
      2. Write queries that sort data with the ORDER BY clause
      3. Write queries that filter data using the TOP option
      4. Write queries that filter data using the OFFSET-FETCH clause
  6. Working with SQL Server Denali Data Types
    1. Introducing SQL Server Denali Data Types
    2. Working with Character Data
    3. Working with Date and Time Data
    4. Lab : Working with SQL Server 2012 Data Types
      1. Write queries which return date and time data
      2. Write queries which use date and time functions
      3. Write queries which return character data
      4. Write queries which use character functions
  7. Using Built-In Functions
    1. Writing Queries with Built-In Functions
    2. Using Conversion Functions
    3. Using Logical Functions
    4. Using Functions to Test for Nullability
    5. Lab : Using Built-In Functions
      1. Write queries which use conversion functions
      2. Write queries which use logical functions
      3. Write queries which test for nullability
  8. Grouping and Aggregating Data
    1. Using Aggregate Functions
    2. Using the GROUP BY Clause
    3. Filtering Groups with the HAVING Clause
    4. Lab : Grouping and Aggregating Data
      1. Write queries which use the GROUP BY clause
      2. Write queries which use aggregate functions
      3. Write queries which use distinct aggregate functions
      4. Write queries which filter groups with the HAVING clause
  9. Using Subqueries
    1. Writing Self-Contained Subqueries
    2. Writing Correlated Subqueries
    3. Using the EXISTS Predicate with Subqueries
    4. Lab : Using Subqueries
      1. Write queries which use self-contained subqueries
      2. Write queries which use correlated subqueries
      3. Write queries which use scalar and multi-result subqueries
      4. Write queries which use the IN and EXISTS predicates
  10. Using Table Expressions
    1. Views
    2. Table Expressions
    3. Lab : Using Table Expressions
      1. Write queries which use views
      2. Write queries which use derived tables
      3. Write queries which use common table expressions
      4. Write queries which use inline table-valued expressions
  11. Use Set Operators
    1. Lab : Use Set Operators
      1. Write queries which use UNION set operators and UNION ALL multi-set operators
      2. Write queries which use CROSS APPLY and OUTER APPLY operators
      3. Write queries which use APPLY with derived tables and functions
      4. Write queries which use EXCEPT and INTERSECT operators
  12. Using Window Ranking,Offset and Aggregate Functions
    1. Lab : Using Window Ranking, Offset and Aggregate Functions
      1. Write queries which use ranking functions
      2. Write queries which use offset functions
      3. Write queries which use window aggregate functions
  13. Pivoting and Grouping Sets
    1. Lab : Pivoting and Grouping Sets
      1. Write queries which use the PIVOT operator
      2. Write queries which use the GROUPING SETS subclause
      3. Write queries which use GROUP BY ROLLUP
      4. Write queries which use GROUP BY CUBE
  14. Querying SQL Server Metadata
    1. Lab : Querying SQL Server Metadata
      1. Querying system catalog views
      2. Querying system functions
      3. Querying system dynamic management views
  15. Executing Stored Procedures
    1. Lab : Executing Stored Procedures
      1. Use the EXECUTE statement to invoke stored procedures
      2. Pass parameters to stored procedures
      3. Return results from a stored procedure using the OUTPUT clause
      4. Execute system stored procedures
  16. Programming with T-SQL
    1. Lab : Programming with T-SQL
      1. Declaring variables and delimiting batches
      2. Using control of flow elements
      3. Generating dynamic SQL
      4. Using synonyms
  17. Implementing Error Handling
    1. Lab : Implementing Error Handling
      1. Redirecting errors with TRY/CATCH
      2. Creating error handling routines in a CATCH block with ERROR functions
      3. Using THROW to pass an error message back to a client
  18. Implementing Transactions
    1. Lab : Implementing Transactions
      1. Controlling transactions with BEGIN and COMMIT
      2. Using XACT_ABORT
      3. Adding transaction handling logic to a CATCH block
  19. Improving Query Performance
    1. Lab : Improving Query Performance
      1. Viewing query execution plans
      2. Using SET STATISTICS statements
      3. Viewing index usage
      4. Comparing cursors to set-based queries

To Hire a proven AMS Subject Matter Expert that both works with Micrsoft SQL Server 2012 in the field and teaches this class, Call 800-798-3901 Today!

Leave a Reply