Overview
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.
The main purpose of the course is to prepare people for the exam “70-461: Writing Queries Using Microsoft SQL Server 2014 Transact-SQL.”
This exam will be the underlying exam for all SQL Server-related disciplines; namely, Database Administration, Database Development and Business Intelligence. As such, the primary target audience for this course is: Database Administrators, Database Developers and BI professionals.
Note: This course is designed for customers 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.
Prerequisites
- Working knowledge of relational databases
- Basic knowledge of the Microsoft Windows operating system and its core functionality
Who Should Attend?
This course is recommended 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.
Course Outline
- The Basic Architecture of SQL Server
- SQL Server Editions and Versions
- Getting Started with SQL Server Management Studio
- Introducing T-SQL
- Understanding Sets
- Understanding Predicate Logic
- Understanding the Logical Order of Operations in SELECT statements
- Writing Simple SELECT Statements
- Eliminating Duplicates with DISTINCT
- Using Column and Table Aliases
- Writing Simple CASE Expressions
- Understanding Joins
- Querying with Inner Joins
- Querying with Outer Joins
- Querying with Cross Joins and Self Joins
- Sorting Data
- Filtering Data with Predicates
- Filtering with the TOP and OFFSET-FETCH
- Working with Unknown Values
- Introducing SQL Server 2014 Data Types
- Working with Character Data
- Working with Data and Time Data
- Inserting Data
- Modifying and Deleting Data
- Writing Queries with Built-In Functions
- Using Conversion Functions
- Using Logical Functions
- Using Functions to Work with NULL
- Using Aggregate Functions
- Using the GROUP BY Clause
- Filtering Groups with HAVING
- Writing Self-Contained Subqueries
- Writing Correlated Subqueries
- Using the EXISTS Predicate with Subqueries
- Using Views
- Using Inline Table-Valued Functions
- Using Derived Tables
- Using Common Table Expressions
- Writing Queries with the UNION Operator
- Using EXCEPT and INTERSECT
- Using APPLY
- Creating Windows with OVER
- Exploring Windows Functions
- Writing Queries with PIVOT and UNPIVOT
- Working with Grouping Sets
- Writing Queries with PIVOT and UNPIVOT
- Passing Parameters to Stored Procedures
- Creating Simple Stored Procedures
- Working with Dynamic SQL
- T-SQL Programming Elements
- Controlling Program Flow
- Using TRY / CATCH Blocks
- Working with Error Information
- Transactions and the Database Engine
- Controlling Transactions
- Factors in Query Performance
- Displaying Query Performance Data
- Querying System Catalog Views and Functions
- Executing System Stored Procedures
- Querying Dynamic Management Objects