Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close

Description

Common Table Expressions (CTEs), often simply called WITH clauses, are essentially just named subqueries. They are a fairly new feature of SQL; with CTEs, you can break a long query into smaller chunks, which makes it more readable. Unlike SQL subqueries, CTEs can be recursive, allowing the traversal of hierarchical models of enormous depth.

About the Common Table Expressions in SQL Course
This course will cover simple CTEs, nested CTEs, and recursive CTEs. You will learn how to manage your SQL queries with CTEs, how and when to nest CTEs, and how to use recursive CTEs to move through hierarchical data models.

This course is intended for intermediate users. We assume the user knows the basics of SQL, including:

  • How to select from a single table, including writing complex WHERE conditions
  • How to JOIN tables
  • How GROUP BY and HAVING work
  • How SQL subqueries work

What Are the Requirements?

  • A web browser
  • Knowledge of basic SQL, including JOINs and GROUP BY clauses

What Am I Going To Get from This SQL Course?

You will discover how to:
  • Understand and use basic Common Table Expressions
  • Split long SQL queries with simple and nested CTEs
  • Deploy recursive CTEs
  • Write recursive CTEs that traverse a hierarchical data model

Who Should Take This Course?

  • Beginning database analysts
  • Developers who want to keep their knowledge of SQL current
  • Students taking classes in relational databases
  • Anyone who wants to learn Common Table Expressions in SQL
    Start for free
    Gift this course

    Bundle deals

    80%
    off

    Reg. price
    $990

    One to Rule 'Em All

    Includes 30 courses Python Basics. Part 1, Python Basics. Part 2, Python Basics. Part 3, Python Data Structures in Practice, Working with Strings in Python, SQL Basics, Standard SQL Functions, SQL Practice Set, Writing User-Defined Functions in PostgreSQL, SQL JOINs, Window Functions, Recursive Queries, How to INSERT, UPDATE, and DELETE Data in SQL, Creating Tables in SQL, PostGIS, Introduction to R, Tidyverse, Data Visualization 101, Statistics 101, SQL Basics in MS SQL Server, How to Insert, Update, or Delete Data in MS SQL Server, Common Functions in MS SQL Server, Creating Basic SQL Reports in SQL Server, Window Functions in MS SQL Server, Recursive Queries in MS SQL Server, GROUP BY Extensions in MS SQL Server, How to Read and Write CSV Files in Python, How to Read and Write JSON Files in Python, Introduction to Python for Data Science, Lists and Functions in R

    Bundle price $189

    37 hours left at this price!

    71%
    off

    Reg. price
    $330

    SQL Complete Track

    Includes 9 courses SQL Basics, Standard SQL Functions, SQL Practice Set, SQL JOINs, Window Functions, Recursive Queries, How to INSERT, UPDATE, and DELETE Data in SQL, Creating Tables in SQL, PostGIS

    Bundle price $95

    37 hours left at this price!

    68%
    off

    Reg. price
    $143

    SQL Advanced Kit

    Includes 3 courses Standard SQL Functions, Window Functions, Recursive Queries

    Bundle price $45

    37 hours left at this price!

    Table of contents

    Progress: 0% completed 0 of 114 exercises done

    1. Intro Quiz

    Test your knowledge of SQL

    More details Less
    Start now

    0% completed 0 of 14 exercises done

    2. CTE syntax

    Your first encounter with Common Table Expressions

    More details Less
    Start now

    0% completed 0 of 17 exercises done

    3. Nested CTE

    You'll get to know how to use nested CTEs

    More details Less
    Start now

    0% completed 0 of 15 exercises done

    4. Recursive CTE

    You'll find out what recursion is and how to use it in SQL queries

    More details Less
    Start now

    0% completed 0 of 36 exercises done

    5. CTE with INSERT, DELETE, UPDATE

    You'll get to know how to use INSERT, DELETE, UPDATE statements with CTEs

    More details Less
    Start now

    0% completed 0 of 18 exercises done

    6. Final quiz

    Test your knowledge in this final quiz

    More details Less
    Start now

    0% completed 0 of 14 exercises done

    Reviews

    Average rating

    5/5100.0 (10)

    Details

    5 Stars 100%
    4 Stars 0%
    3 Stars 0%
    2 Stars 0%
    1 Stars 0%
      Load more reviews

      Comments

      0