AI Academy
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Lessons
Reviews
About us
Start
Start learning
Start learning now
My Progress
Courses
University
Quest Map
Lessons
SQL
SQL
Level 27
Getting to Know CTE: WITH
SQL SELF
Level 27,
Lesson 0
Find out what a CTE (Common Table Expressions) is in SQL, why you need them, how to use them, and how they’re different from subqueries. Simple examples, syntax, and tips for beginners.
Creating Temporary Tables with WITH
SQL SELF
Level 27,
Lesson 1
Learn how to use CTEs (Common Table Expressions) to create temporary tables in SQL: benefits, syntax, comparison with temp tables, examples, and common mistakes.
Simple CTEs for Data Prep: Examples and Real-World Use Cases
SQL SELF
Level 27,
Lesson 2
Learn how to use CTEs (Common Table Expressions) for prepping and processing data in real SQL tasks: filtering, aggregation, metric calculation, and building reports — all with easy-to-follow examples.
Recursive CTEs: What Are They and Why Do You Need Them?
SQL SELF
Level 27,
Lesson 3
Recursive CTEs are a powerful SQL tool for working with hierarchical data structures. In this material, you'll learn how recursive CTEs work, why you need them, how to use them to traverse trees and graphs, and you'll also see practical examples and common mistakes.
Example of Recursive CTEs for Working with Hierarchies
SQL SELF
Level 27,
Lesson 4
Learn how to use recursive CTEs in SQL to efficiently work with hierarchical structures, like a product category tree. This article gives you practical examples for building a tree, counting nesting levels, and creating a full category path.
Please enable JavaScript to continue using this application.