This course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server. You will learn how to write queries that return data from tables as well as create, update, or delete data in a database. These queries will allow filtering and sorting and effectively use the various data types provided by SQL Server. This course also covers the use of dynamic tables of various sorts which can allow a more sophisticated SQL user to hide implementation details from other end users accessing data from reporting tools. Finally, the course will provide details on the what and how of error handling and transaction management. This course is the foundation for all SQL Server-related disciplines; namely, Database Administration, Database Development and Business Intelligence. The primary target audience for this course is: Database Administrators, Database Developers and BI professionals.
Key Learning Topics In This Course
Understand the similarities and differences between Transact-SQL and other computer languages.
- 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
Course Modules
Module 1 – Query Tools
1. Course Introduction
2. Module 1 Introduction
3. Intro to Management Studio
4. Intro to command-line query tools
Module 2 – Introduction to T-SQL Querying
1.Module 2 Introduction
2.Introducing T-SQL
3.Understanding Sets
4.Understanding the Logical Order of Operations in SELECT statements
Bangalore – 560045 Module 3 – Basic SELECT Queries
1.Module 3 Introduction
2.Writing Simple SELECT Statements
3.Eliminate Duplicates with DISTINCT
4.Using Column and Table Aliases
5.Write Simple CASE Expressions
Module 4 – Querying Multiple Tables
1.Module 4 Introduction
2.Understanding Joins
3.Querying with Inner Joins
4.Querying with Outer Joins
5.Querying with Cross Joins and Self Joins
Module 5 – Sorting and Filtering Data
1.Module 5 Introduction
2.Sorting Data
3.Filtering Data with Predicates
4.Filtering with the TOP and OFFSET-FETCH
5.Working with Unknown Values
Module 6 – Working with SQL Server Data Types
1.Module 6 Introduction
2.Writing Queries that return Date and Time Data
3.Writing Queries that use Date and Time Functions
4.Writing Queries that return Character Data
5.Writing Queries that use Character Functions
Module 7 – Using DML to Modify Data
1. Module 7 Introduction
2. Inserting Records with DML
3. Updating Records Using DML
4. Deleting Records Using DML
Module 8 – Using Built-In Functions
1.Module 8 Introduction
2.Writing Queries with Built-In Functions
3.Using Conversion Functions
4.Using Logical Functions
5.Using Functions to Work with NULL
Module 9 – Grouping and Aggregating Data
1. Module 9 Introduction
2. Using Aggregate Functions
3. Using the GROUP BY Clause
4. Filtering Groups with HAVING
Module 10 – Using Subqueries
1. Module 10 Introduction
2.Writing Self-Contained Subqueries
3.Writing Correlated Subqueries
4.Using the EXISTS Predicate with Subqueries
Module 11 – Using Table Expressions
1.Module 11 Introduction
2.Using Views
3.Using Inline Table-Valued Functions
4.Using Derived Tables
5.Using Common Table Expressions
Module 12 – Using Set Operators
1.Module 12 Introduction
2.Writing Queries with the UNION operator
3.Using EXCEPT and INTERSECT
4.Using APPLY
Module 13 – Using Window Ranking, Offset, and Aggregate Functions
1. Module 13 Introduction
2.Creating Windows with OVER
3.Exploring Window Functions
Module 14 – Pivoting and Grouping Sets
1.Module 14 Introduction
2.Writing Queries with PIVOT and UNPIVOT
3.Working with Grouping Setsnguages Known : English, Telugu
Module 15 – Implementing Error Handling
1.Module Introduction
2.Implementing T-SQL error handling
3.Implementing structured exception handling
Module 16 – Managing Transactions
1. Module 16 Introduction
2. Transactions and the Database Engine
3. Controlling Transactions
4. Course Wrap Up