# NO CTE Module in the Complete SQL Mastery course

**URL:** <https://forum.codewithmosh.com/t/no-cte-module-in-the-complete-sql-mastery-course/72804>\
**Category:** SQL\
**Created:** [June 2, 2026, 2:22pm UTC](https://forum.codewithmosh.com/t/no-cte-module-in-the-complete-sql-mastery-course/72804 "2026-06-02T14:22:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iamharsh](https://avatars.discourse-cdn.com/v4/letter/i/a6a055/32.png) [@Iamharsh](https://forum.codewithmosh.com/u/Iamharsh)\
**Post date:** [June 2, 2026, 2:22pm UTC](https://forum.codewithmosh.com/t/no-cte-module-in-the-complete-sql-mastery-course/72804/1 "2026-06-02T14:22:16Z")

</div>

I purchsed the course **Complete SQL Mastery** as i am preparing for career pivot from Mechanical enginering to DATA Analytics/Engineering and after following course for the while i came to know that there’s no module for the CTE’s and i as wondering if there is any video of Mosh is availabe on it as i am in the final stage where i completed most of the things in SQL apart from CTE’s.

---

<div class="post-metadata">

**Author:** ![hexadeku](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/hexadeku/32/14875_2.png) [@hexadeku](https://forum.codewithmosh.com/u/hexadeku)\
**Post date:** [October 29, 2026, 4:29pm UTC](https://forum.codewithmosh.com/t/no-cte-module-in-the-complete-sql-mastery-course/72804/2 "2026-10-29T16:29:51Z")

</div>

A CTE is a named result set defined with `WITH`, which you can then use in the query that follows. For example: `WITH sales_by_customer AS (SELECT customer_id, SUM(amount) AS total FROM orders GROUP BY customer_id) SELECT * FROM sales_by_customer WHERE total > 1000;`. I can’t confirm whether Mosh has a separate CTE video, but this is a useful topic to practice alongside subqueries and joins.
