Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

SQL Server: Transact-SQL Common Table Expressions

Learn how to create and use common table expressions (CTEs) correctly, for developers and DBAs from SQL Server 2005 onward

Intermediate
1h 20m
(400)

Created by Joe Sack

Last Updated Nov 01, 2023

Course Thumbnail
  • Course

SQL Server: Transact-SQL Common Table Expressions

Learn how to create and use common table expressions (CTEs) correctly, for developers and DBAs from SQL Server 2005 onward

Intermediate
1h 20m
(400)

Created by Joe Sack

Last Updated Nov 01, 2023

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Data
What you'll learn

Common table expressions are a useful and versatile T-SQL query construct and this demo-centric course shows how to correctly define and use CTEs, what restrictions there are for using them, and some common usage scenarios. This course is perfect for developers, DBAs, and anyone responsible for writing Transact-SQL code, from complete beginners through to those with more experience. The information in the course applies to all versions from SQL Server 2005 onward.

SQL Server: Transact-SQL Common Table Expressions
Intermediate
1h 20m
(400)
Table of contents

About the author
Joe Sack - Pluralsight course - SQL Server: Transact-SQL Common Table Expressions
Joe Sack
13 courses 4.5 author rating 4116 ratings

Joe Sack is a Principal Program Manager in the SQL Server and Azure SQL Database product team at Microsoft, with a focus on query processing. With over 19 years of experience in the industry, Joe is an author and speaker, specializing in performance tuning and optimization.

Get started with Pluralsight