Processing your application. Please be patient while we make sure we receive every piece of it.
This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server 2014. This course is the foundation for all SQL Server-related disciplines; namely, Database Administration, Database Development and Business Intelligence. This course helps students prepare for exam 70-461.
Note: This course is designed for students who are interested in learning SQL Server 2012 or SQL Server 2014. It covers the new features in SQL Server 2014, but also the important capabilities across the SQL Server data platform.
After completing this course, students should be able to:
- Write SELECT queries
- Query multiple tables
- Sort and filter data
- Describe the use of data types in SQL Server
- Modify data using Transact-SQL
- Use built-in functions
- Group and aggregate data
- Use subqueries
- Use table expressions
- Use set operators
- Use window ranking, offset and aggregate functions
- Implement pivoting and grouping sets
- Execute stored procedures
- Program with T-SQL
- Implement error handling
- Implement transactions
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.
This course requires that you meet the following prerequisites:
- Working knowledge of relational databases.
- Basic knowledge of the Microsoft Windows operating system and its core functionality.
Module 1: Introduction to Microsoft SQL Server 2014Thismodule introduces the SQL Server platform and major tools. It discusseseditions, versions, tools used to query, documentation sources, and the logicalstructure of databases.Lessons· TheBasic Architecture of SQL Server
· SQLServer Editions and Versions
· GettingStarted with SQL Server Management Studio
Module2: Introduction to T-SQL Querying
Thismodule introduces Transact SQL as the primary querying language of SQL Server. Itdiscusses the basic structure of T-SQL queries, the logical flow of a SELECTstatement, and introduces concepts such as predicates and set-based operations.
- Introducing T-SQL
- Understanding Sets
- Understanding Predicate Logic
- Understanding the Logical Order of Operations in SELECT statements
Module3: Writing SELECT Queries
Thismodule introduces the fundamentals of the SELECT statement, focusing on queriesagainst a single table.
- Writing Simple SELECT Statements
- Eliminating Duplicates with DISTINCT
- Using Column and Table Aliases
- Writing Simple CASE Expressions
Module4: Querying Multiple Tables
Thismodule explains how to write queries which combine data from multiple sourcesin SQL Server. The module introduces the use of JOINs in T-SQL queries as amechanism for retrieving data from multiple tables.
- Understanding Joins
- Querying with Inner Joins
- Querying with Outer Joins
- Querying with Cross Joins and Self Joins
Module5: Sorting and Filtering Data
Thismodule explains how to enhance queries to limit the rows they return, and tocontrol the order in which the rows are displayed. The module also discusseshow to resolve missing and unknown results.
Module6: Working with SQL Server 2014 Data Types
- Sorting Data
- Filtering Data with a WHERE Clause
- Filtering with the TOP and OFFSET-FETCH Options
- Working with Unknown and Missing Values
Thismodule explains the data types SQL Server uses to store data. It introduces themany types of numeric and special-use data types. It also explains conversionsbetween data types, and the importance of type precedence.
- Introducing SQL Server 2014 Data Types
- Working with Character Data
- Working with Date and Time Data
Module7: Using DML to Modify Data
Thismodule describes the use of Transact-SQL Data Manipulation Language to performinserts, updates, and deletes to your data.
- Inserting Data
- Modifying and Deleting Data
Module8: Using Built-In Functions
Thismodule introduces the use of functions that are built in to SQL Server Denali,and will discuss some common usages including data type conversion, testing forlogical results and nullability.
- Writing Queries with Built-In Functions
- Using Conversion Functions
- Using Logical Functions
- Using Functions to Work with NULL
Module9: Grouping and Aggregating Data
Thismodule introduces methods for grouping data within a query, aggregating thegrouped data and filtering groups with HAVING. The module is designed to helpthe student grasp why a SELECT clause has restrictions placed upon columnnaming in the GROUP BY clause as well as which columns may be listed in theSELECT clause.
- Using Aggregate Functions
- Using the GROUP BY Clause
- Filtering Groups with HAVING
Module10: Using Subqueries
Thismodule will introduce the use of subqueries in various parts of a SELECTstatement. It will include the use of scalar and multi-result subqueries, andthe use of the IN and EXISTS operators.
- Writing Self-Contained Subqueries
- Writing Correlated Subqueries
- Using the EXISTS Predicate with Subqueries
Module11: Using Table Expressions
Thismodule introduces T-SQL expressions which return a valid relational table,typically for further use in the query. The module discusses views, derivedtables, common table expressions and inline table-valued functions.
- Using Derived Tables
- Using Common Table Expressions
- Using Views
- Using Inline Table-Valued Functions
Module12: Using Set Operators
Thismodule introduces Microsoft SharePoint Server as a platform for BI, and thenfocuses on building BI dashboards and scorecards with PerformancePointServices.
- Writing Queries with the UNION Operator
- Using EXCEPT and INTERSECT
- Using APPLY
Module13: Using Window Ranking, Offset, and Aggregate Functions
Thismodule introduces window functions including ranking, aggregate and offsetfunctions. Much of this functionality is new to SQL Server 2012. It will coverthe use of T-SQL functions such as ROW_NUMBER, RANK, DENSE_RANK, NTILE, LAG,LEAD, FIRST_VALUE and LAST_VALUE to perform calculations against a set, orwindow, of rows.
- Creating Windows with OVER
- Exploring Window Functions
Module14: Pivoting and Grouping Sets
Thismodule discusses techniques for pivoting data in T-SQL as well to introduce thefundamentals of the GROUPING SETS clause. It will also cover the use of GROUPBY ROLLUP and GROUP BY CUBE syntax in SQL Server.
- Writing Queries with PIVOT and UNPIVOT
- Working with Grouping Sets
Module15: Executing Stored Procedures
Thismodule introduces the use of existing stored procedures in a T-SQL queryingenvironment. It discusses the use of EXECUTE, how to pass input and outputparameters to a procedure, and how to invoke system stored procedures.
- Querying Data with Stored Procedures
- Passing Parameters to Stored Procedures
- Creating Simple Stored Procedures
- Working with Dynamic SQL
Module16: Programming with T-SQL
Thismodule provides a basic introduction to T-SQL programming concepts and objects.It discusses batches, variables, control of flow elements such as loops andconditionals, how to create and execute dynamic SQL statements, and how to usesynonyms.
- T-SQL Programming Elements
- Controlling Program Flow
Module17: Implementing Error Handling
Thismodule introduces the use of error handlers in T-SQL code. It will introducethe difference between compile errors and run-time errors, and will cover howerrors affect batches. The module will also cover how to control error handlingusing TRY/CATCH blocks, the use of the ERROR class of functions, and the use ofthe new THROW statement.
- Using TRY / CATCH Blocks
- Working with Error Information
Module18: Implementing Transactions
Thismodule introduces the concepts of transaction management in SQL Server. It willprovide a high-level overview of transaction properties, cover the basics ofmarking transactions with BEGIN, COMMIT and ROLLBACK.
- Transactions and the Database Engine
- Controlling Transactions
- Isolation Levels
Module19: Improving Query Performance
Thismodule presents several key guidelines for writing well-performing queries, aswell as ways to monitor the execution of your queries and their impact onMicrosoft SQL Server.
- Factors in Query Performance
- Displaying Query Performance Data
Module20: Querying SQL Server Metadata
SQLServer provides access to structured metadata by using a variety of mechanisms,such as system catalog views, system functions, dynamic management objects, andsystem stored procedures. In this module, you will learn how to write queriesto return system metadata using these mechanisms.
- Querying System Catalog Views and Functions
- Executing System Stored Procedures
- Querying Dynamic Management Objects