The instructor took the time to address student questions about their own programming projects/problems and incorporated... More Testimonials »

MOC 10774 - Querying Microsoft SQL Server 2012

Delivery Options

Upcoming Live eLearning Classes

There are currently no upcoming Live eLearning classes. Please contact us if you would like us to schedule a class.

Class Description

Class Overview

This Microsoft SQL Server 2012 training 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 course 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.

Class 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.

Class 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

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 areas is required:

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

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.

Potential Follow-on Classes

Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Locations
Compare Us
Watch 3-minute Demo Video
of Live Online Training:
Learn the benefits of online training with Webucator
Webucator is a Registered Education Provider (R.E.P.) approved by PMI to issue professional development units (PDUs) for our training courses.

Recent Blog Articles

SQL Server 2008 Certification Training Overview

Posted on Jun 07, 2011 by Bob Clary

We’ve recently developed new resources to help clients achieve their Microsoft certification goals. We now offer a directory of Microsoft certification ...


SQL Server 2008 Reporting Services

Posted on May 04, 2011 by akenien

This SQL Server Reporting Services 2008 webinar is a quick overview of the the new layout and features of SQL Server Reporting Services 2008. SQL Server ...


Data Modeling in MySQL Workbench

Posted on May 04, 2011 by akenien

This MySQL webinar recording includes concepts from our MySQL training classes to teach you how to use MySQL Workbench for data modeling. The webinar will ...


Writing an Oracle PL/SQL Program

Posted on May 04, 2011 by akenien

This recorded webinar includes concepts from our Oracle training classes to help you write your first Oracle PL/SQL program! Writing an Oracle PL/SQL Program ...


Importing Data Using Oracle SQL Developer

Posted on Feb 27, 2011 by Beth Anglo

There are many methods one can use to import data from operating system files into Oracle tables. These methods include using any of the following: the ...

© Webucator, Inc. All rights reserved. | Toll Free: 1-877-932-8228 | From outside the USA: 315-849-2724| Fax: 315-849-2723