Private Onsite | 5 Days Classroom

Advanced T-SQL Querying, Programming and Tuning for SQL Server 2012 – 2019

Transact-SQL is an essential skill for data professionals and developers working with SQL databases.
Master your T-SQL Querying, Query Tuning and Programming skills. Create highly efficient solutions to your common business tasks.

Main Benefits

Understand logical query processing and SQL Server’s internal data structures.


Be able to analyze & tune query performance, and analyze query execution plans.

Handle data and time data, including intervals.

Describe performance problems related to use of user defined functions and possible workarounds.


Describe the changes between the legacy and new cardinality estimators.


Be able to solve complex querying and programming tasks.

Create system-versioned temporal tables.

Think of therms of sets, and be able to compare set based and iterative solutions.

Be able to migrate on-disk data to memory optimized data.

Upcoming Dates

Nov 9, 2020 – Vienna Enroll here

Dec 14, 2020 – London Enroll here

 Feb 22, 2021 – ONLINE Enroll here

Course Delivery Options

Private Onsite.

The course will take place in your companie’s facilities. We limit attendance to no more than 15 students in order to maintain a good level of interactivity.

5 Days Classroom.

The course will take place in a classroom with no more than 15 students in order to maintain a good level of interactivity.


Before attending this course, it is recommended that students have at least one year of T-SQL querying and programming experience in SQL Server or Azure SQL Database.

We highly recommend to follow T-SQL Fundamentals on-demand.

After this Course

Along the course you will learn how to use T-SQL to solve practical problems.Become a T-SQL Pro learning first hand from the best!

You will learn how to tune your queries, how to develop efficient routines including user defined functions, stored procedures and triggers, work in multi-user environments with transactions and isolation levels, and use dynamic SQL securely and efficiently.

“Itzik’s course opened my eyes and helped me re-discover the passion I have for solving problems using creative and efficient methods”.

Heinz Grabner


“I am extremely happy after Herbert’s class. I will need more time to process everything I´ve learnt from this course”.

Pawel Giergiel


“I can see why people love T-SQL. Being able to learn from Itzik has been a pleasure”.

Jason Harris



Itzik Ben – Gan

Itzik Ben-Gan is a Mentor and Co-Founder of SolidQ. A Data Platform Microsoft MVP (Most Valuable Professional) since 1999, Itzik has delivered numerous training events around the world focused on T-SQL Querying, Query Tuning and Programming. Itzik is the author of several books including T-SQL Fundamentals Third Edition and T-SQL Querying. He has written articles for SQL Server Pro, SolidQ Journal, MSDN and SQL Performance blog. Itzik’s speaking activities include SQLPASS, SQLBits, SQL Nexus, SQLU, SQLTeach and various user groups around the world. Itzik is the author of SolidQ’s Advanced T-SQL Querying, Programming and Tuning and T-SQL Fundamentals courses along with being a primary resource within the company for their T-SQL related activities.

Herbert Albert

Herbert Albert is a Mentor and Managing Director of SolidQ’s Central and Eastern Europe subsidiary. Since SQL Server 6.0 Albert worked as a consultant, a database developer and trainer and holds several Microsoft certifications including MCT. He was involved in the development of several Microsoft Official Curriculum courses. Herbert co-authored “SQL Server Upgrade Technical Reference Guide” for SQL Server 2008 and 2012 and the Microsoft Press book “SQL Server 2005 Step-by-Step Applied Techniques”. He is a regular speaker at international conferences and events. As a trainer Herbert is focused on courses for T-SQL programming and performance tuning, which he delivers successfully all over Europe.

Course Outline

Module 1. Logical Query Processing
  • Logical Query Processing Order
  • Logical Query Processing Example
  • Phase Details
  • Module 2. Query Tuning
  • Internals and Index Tuning
  • Cardinality Estimations
  • Temporary Tables
  • Sets vs. Cursors
  • Query Tuning with Query Revisionse
  • Module 3. Multi-Table Queries
  • Subqueries and Table Expressions
  • APPLY Operator
  • Joins
  • Set Operators
    LAB 03
  • Module 4. Grouping, Pivoting and Windowing
  • Window Functions
  • Pivoting and Unpivoting Data
  • Custom Aggregations
  • Grouping Sets self-study unit)
    LAB 04
  • Module 5. TOP and OFFSET-FETCH
  • TOP
  • Top N Per Group
    LAB 05
  • Module 6. Modeling: Data Modification
  • Inserting Data
  • Sequences
  • Deleting Data
  • Updating Data
  • Merging Data
  • The OUTPUT Clause
    LAB 06
  • Module 7. Working with Date and Time
  • Date and Time Datatypes
  • Date and Time Functions
  • Date and Time Challenges
  • System-Versioned Temporal Tables
  • Date and Time Querying Problems
    LAB 07
  • Module 8. Programmable Objects
  • Dynamic SQL
  • User Defined Functions
  • Stored Procedures
  • Triggers
  • Transactions and Concurrency
  • Exception Handling
    LAB 08
  • Module 9. In-Memory OLTP
  • Intro to In-Memory OLTP
  • Architecture
  • Memory Optimized Tables and Indexes
  • Natively Compiled Modules
  • Transaction Semantics
    LAB 09
  • Appendix A: Graphs and Recursive Queries (Bonus Self-Study Material)
  • Graphs, Described
  • Materialized Paths
  • Custom
  • Using the HIERARCHYID datatype
  • Nested Sets
  • Nested Iterations
  • Loops
  • Recursive Queries
  • SQL Graph
    LAB A
  • Contact us

    Do you want more info about these courses?

    • By submitting this information, you acknowledge that you have read the Privacy Policy and that you consent to our data processing in accordance with this Statement.
    • This field is for validation purposes and should be left unchanged.

    Invite & Earn

    Signup to start sharing your link