Home > Store

MCSA Querying Microsoft SQL Server 2012 (Exam 70-461) LiveLessons: Required Knowledge for SQL Server 2012 and 2014

Downloadable Video

  • Sorry, this book is no longer in print.
  • About this video
  • Accessible from your Account page after purchase. Requires the free QuickTime Player software.

    Videos can be viewed on: Windows 8, Windows XP, Vista, 7, and all versions of Macintosh OS X including the iPad, and other platforms that support the industry standard h.264 video codec.

Not for Sale

Register your product to gain access to bonus material or receive a coupon.


  • Copyright 2015
  • Edition: 1st
  • Downloadable Video
  • ISBN-10: 0-7897-5398-7
  • ISBN-13: 978-0-7897-5398-4

10 hours of video instruction

More than 10 hours of video instruction on Querying Microsoft SQL Server 2012 to help you pass the MCSA Querying Microsoft SQL Server 2012 (70-461) exam.


Learn the ins and outs of SQL Server in this practical video tutorial. MCSA/MCSE Exam 70-461 Querying Microsoft SQL Server 2012 LiveLessons is a unique video product that provides a solid understanding of querying SQL Server 2012, a necessity for database administrators and developers and required knowledge for certifications on Microsoft SQL Server 2012 and 2014. Transact-SQL (T-SQL) is the main language used to manage data on Microsoft SQL Server. Understanding T-SQL is foremost in writing performance-based queries. The product takes the student from the basics of the language to the structures that will create optimal results. The student learns, step by step, creating database objects, working with data, modifying data, and troubleshooting and optimizing queries for a comprehensive study of querying.

This video course contains an initial overview video and 4 modules with 17 videos lessons, subdivided into 129 sub lessons, for a total of 10 hours of instruction. The videos consist of audio instruction, animations, and video screen casts. Each video lab presents detailed objectives, lab diagrams, and video captures. Audio instruction throughout offers detailed explanations, tips, and configuration verifications.

Skill Level

  • Beginning

What You Will Learn

  • How to create database objects, including:

o   Creating and altering tables using T-SQL syntax

o   Designing, creating, and altering views

o   Creating and modifying constraints

o   Creating and altering DML triggers

  • Working with data

o   Querying data by using SELECT statements

o   Implementing sub-queries

o   Implementing data types

o   Implementing aggregate queries

o   Querying and managing XML data

  • Modifying data

o   Modifying data by using INSERT, UPDATE, and DELETE statements

o   Combining datasets

o   Creating and altering stored procedures

o   Working with functions

  • Troubleshooting and optimizing

o   Optimizing queries

o   Managing transactions

o   Evaluating the Use of Row-Based Operations vs. Set-Based Operations

o   Implementing error handling

Who Should Take This Course

Primary Audience: The target audience for this course are administrators, developers, and power-users in the database world that want to expand their knowledge of Transact-SQL querying, as well as candidates considering taking the Microsoft SQL Server 2012 Administrator and Developer Certifications.

Course Requirements

Users should have a working knowledge of Microsoft SQL Server 2012, experience using SQL Server Management Studio (SSMS), as well as some experience writing Transact-SQL code. Access to a SQL Server 2012 instance including a sample database is also highly recommended.

The modules and video lessons cover the following topics:

Module 1: Create Database Objects

Lesson 1: Create and Alter Tables Using T-SQL Syntax

1.1: Creating Tables Using the CREATE Statement

1.2: Specifying Schema in Database, Table, and Column Names

1.3: Choosing Column Data Types

1.4: Altering Tables and Columns

1.5: Dropping Tables

1.6: Demo – Examining the Syntax of the CREATE TABLE Statement and Comparing with a Sample

1.7: Demo – Best Practices in Naming Tables and Columns

1.8: Demo – Guideline Samples for Selecting Column Data Types

1.9: Demo – Using ALTER TABLE to Add and Modify Columns

1.10: Demo – Using DROP TABLE and Noting Consequences

Lesson 2: Design, Create, and Alter Views

2.1: Analyzing the CREATE VIEW Statement and Options

2.2: Demo – Comparing the CREATE VIEW Syntax with a Sample VIEW Statement and Options

2.3: Creating and Implementing Indexed Views


2.5: Using a View to Modify Data

2.6: Demo – Altering a View Using ORDER BY

2.7: Demo – Updating a Table Using a View

Lesson 3: Create and Modify Constraints

3.1: Creating a Primary Key Constraint

3.2: Demo – Defining a Primary Key Constraint Using CREATE TABLE and ALTER TABLE

3.3: Defining and Creating Unique Constraints

3.4: Defining and Creating Foreign Key Constraints

3.5: Defining and Creating Check Constraints

3.6: Defining and Creating Default Constraints

3.7: Demo – Working with Constraints to Enforce Data Integrity

Lesson 4: Create and Alter DML Triggers

4.1: Using DML Triggers

4.2: Creating and Using AFTER Triggers

4.3: Demo – Using AFTER Trigger

4.4: Defining Nested AFTER Triggers

4.5: Creating and Using INSTEAD OF Triggers

4.6: Using Trigger Update Functions

4.7: Handling Multiple Rows in a Session

4.8: Understanding the Performance Implications of Triggers

4.9: Demo – Understanding Inserted and Deleted Tables When Using an AFTER Trigger

Module 2: Work With Data

Lesson 5: Query Data by Using SELECT Statements

5.1: Creating Queries That Filter Data Using Predicates

5.2: Creating Queries to Correctly Handle NULLs

5.3: Writing Queries That Combine Predicates

5.4: Demo – Reviewing Non-Efficient and Efficient Sample Queries

5.5: Controlling the Order of the Query Result Using Best Practices

5.6: Demo – Using ORDER BY, DISTINCT, and Aliases

5.7: Creating Deterministic Query Results

5.8: Ranking Query Results Using TOP(x) and OFFSET – FETCH

5.9: Demo – Use TOP(x) and OFFSET – FETCH to Filter Data

5.10: Using Joins to Query Data over Multiple Tables

5.11: Writing Complex Queries – Joins versus Derived Tables

5.12: Demo – Using Joins to Access Data

5.13: Accessing Data Using CASE, COALESCE, and ISNULL

5.14: Using Statements That Load a Table – INSERT VALUES, INSERT SELECT, INSERT EXEC, and SELECT INTO

5.15: Demo – Using Statements That Load or Create Tables

Lesson 6: Implement Subqueries

6.1: Using Self-Contained and Correlated Subqueries

6.2: Using Table Expressions – Derived Tables and Common Table Expressions (CTEs)

6.3: Using the APPLY Operator

6.4: Demo – Using Subqueries and Table Expressions in Queries

6.5: Pivoting and Unpivoting Data

6.6: Demo – Using PIVOT and UNPIVOT Operators in Queries

Lesson 7: Implement Data Types

7.1: Understanding the Uses and Limitations of Each Data Type

7.2: Using Data Types for Columns and Keys

7.3: Using Numeric Data Types

7.4: Using Date and Time Functions

7.5: Demo – Using Data Types for Columns, Keys, and Dates

7.6: Using Binary and String Data Types

7.7: Working with Other Data Types such as Uniqueidentifier and XML

7.8: Demo – Using Binary String and Other Data Types

Lesson 8: Implement Aggregate Queries

8.1: Using a Single Grouping Set

8.2: Using Group Functions

8.3: Defining Multiple Grouping Sets

8.4: Demo – Grouping Data in Queries

8.5: Using Window Aggregate Functions

8.6: Applying Ranking and Offset Functions

8.7: Demo – Using Window Functions in Queries

Lesson 9: Query and Manage XML Data

9.1: Returning Results as XML


9.3: Querying XML Data Using XQUERY

9.4: Demo – Using XQUERY to Extract Data

9.5: Applying Best Practices to Use the XML Data Type

9.6: Creating XML Indexes

9.7: Demo – Using XML Data Type Methods

Module 3: Modify Data

Lesson 10: Modify Data by Using INSERT, UPDATE, and DELETE Statements

10.1: Understanding Methods Used to Insert Data

10.2: Demo – Using the INSERT SELECT and SELECT INTO Statements

10.3: Understanding Methods Used to Update Data

10.4: Demo – Using the UPDATE Statement with Constraints

10.5: Understanding Methods Used to Delete Data

10.6: Demo – Using the DELETE and TRUNCATE Statements

Lesson 11: Combine Datasets

11.1: Using the CASE Expression versus ISNULL versus COALESCE

11.2: Understanding the Difference Between UNION and UNION ALL Set Operators

11.3: Demo – Using UNION and UNION ALL to Combine Datasets

11.4: Understanding the MERGE Statement

11.5: Demo – Using the MERGE Statement to Merge Source Data to a Target

Lesson 12: Create and Alter Stored Procedures

12.1: Creating a Stored Procedure

12.2: Writing a Stored Procedure to Meet a Given Set of Requirements

12.3: Demo – Creating and Executing Stored Procedures with Input and Output Parameters

12.4: Using Branching Logic in a Stored Procedure

12.5: Demo – Using IF/ELSE, WHILE, WAITFOR, GOTO, and RETURN Statements to Control the Procedure Flow

12.6: Implementing a Stored Procedure Used for Data Access Layer

Lesson 13: Work with Functions

13.1: Understanding Deterministic and Non-Deterministic Functions

13.2: Applying Built-In Scalar Functions

13.3: Creating and Altering User-Defined Functions (UDFs)

13.4: Demo - Creating and Altering User-Defined Functions

13.5: Demo – Implementing Scalar and Table-Valued UDFs

Module 4: Troubleshoot and Optimize

Lesson 14: Optimize Queries

14.1: Understanding Query Optimizer

14.2: Reading and Analyzing Query Plans

14.3: Understanding Statistics

14.4: Using SET Options

14.5: Demo – Analyzing Queries Using SET Options

14.6: Using Dynamic Management Objects (DMOs) for Query Tuning

14.7: Demo – Using Dynamic Management Objects

14.8: Using Optimizer Hints and Plan Guides

14.9: Describing Joins and Their Applications

14.10: Demo – Applying Optimizer Hints

Lesson 15: Manage Transactions

15.1: Applying Transaction Commands and Syntax Including Implicit and Explicit Transactions

15.2: Using WITH MARK Statement


15.4: Understanding Locking Protocols Including Shared Locks and Exclusive Locks

15.5: Understanding the Isolation Levels in SQL Server 2012 to Control Locking and Row Versioning Behavior

15.6: Demo - Working with Locking Protocols and Transaction Isolation Levels

Lesson 16: Evaluate the Use of Row-Based Operations vs. Set-Based Operations

16.1: Implementing Row-Based Cursor Commands – DECLARE, OPEN, FETCH, DECLARE, and DEALLOCATE

16.2: Demo - Using Cursors to Perform Row Operations

16.3: Built-In Cursor Functions

16.4: Impact of Cursors in Scalar User-Defined Functions

16.5: Implementing Row-Based Operations Without Cursors

16.6: Demo - Computing an Aggregate Using a Cursor and Compute an Aggregate Using a Set-Based Solution

Lesson 17: Implement Error Handling

17.1: Implementing Try and Catch Blocks to Redirect Errors

17.2: Demo – Using Try and Catch Blocks

17.3: Using the Error Object Function to Return Detailed Error Information

17.4: Implementing THROW

17.5: Demo – Using THROW to Raise an Exception

17.6: Implementing XACT_ABORT

17.7: Demo – Using XACT_ABORT

17.8: Evaluating Set-Based Solutions versus Row-Based Cursor Solutions

17.9: Demo – Using a Set-Based Solution

Who Should Take This Course

Primary Audience: The target audience for this course are administrators, developers, and power-users in the database world that want to expand their knowledge of Transact-SQL querying, as well as candidates considering taking the Microsoft SQL Server 2012 Administrator and Developer Certifications.

Course Requirements

Users should have a working knowledge of Microsoft SQL Server 2012, experience using SQL Server Management Studio (SSMS), as well as some experience writing Transact-SQL code. Access to a SQL Server 2012 instance including a sample database is also highly recommended.

About LiveLessons Video Training

LiveLessons Video Training series publishes hundreds of hands-on, expert-led video tutorials covering a wide selection of technology topics designed to teach you the skills you need to succeed. This professional and personal technology video series features world-leading author instructors published by your trusted technology brands: Addison-Wesley, Cisco Press, IBM Press, Pearson IT Certification, Prentice Hall, Sams, and Que. Topics include: IT Certification, Programming, Web Development, Mobile Development, Home and Office Technologies, Business and Management, and more. View all LiveLessons on InformIT at: http://www.informit.com/livelessons

About the Essentials Series

The Cisco Press video library is an indispensable tool for keeping up with the latest Cisco technologies. We have published hundreds of up-to-date videos on wide variety of key topics for Professionals and IT Certification candidates. The Video Mentor series is now part of the acclaimed LiveLessons series; otherwise, we haven't changed a thing. Whether you are a beginner, intermediate, or expert, you'll find the certification video training you need to accelerate your learning. So, what do you want to learn today? http://www.ciscopress.com/series/series.asp?ser=2185116


Submit Errata

More Information

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Pearson IT Certification products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.pearsonitcertification.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020