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 14
Using subqueries in
SELECT
SQL SELF
Level 14,
Lesson 0
Learn how to use subqueries in SELECT to calculate aggregated values, count related records, and create dynamic columns right in your SQL queries. Detailed examples, optimization tips, and common pitfalls.
Using subqueries in
FROM
SQL SELF
Level 14,
Lesson 1
Learn how to effectively use subqueries in the
FROM
clause to create on-the-fly temporary tables, perform complex aggregations, and simplify your SQL queries without having to create separate tables in your database.
Using Subqueries in HAVING to Filter Aggregated Data
SQL SELF
Level 14,
Lesson 2
In this lecture, you'll learn how to use subqueries in HAVING to filter aggregated data in SQL. We'll look at the difference between WHERE and HAVING, learn how to build complex analytical queries with subqueries, break down examples and common mistakes, and also talk about optimizing these queries.
Examples of Complex Nested Queries: Combining EXISTS, IN, HAVING
SQL SELF
Level 14,
Lesson 3
Learn how to combine subqueries with EXISTS, IN, and HAVING to solve tricky SQL problems. Using a university database as an example, we’ll break down how to filter, group, and optimize queries for real-world analytics tasks.
Typical Mistakes When Working with Subqueries
SQL SELF
Level 14,
Lesson 4
In this lecture, you'll learn about the most common mistakes when working with subqueries in SQL: from syntax slip-ups to logical traps and performance issues. We'll break down examples, explain why mistakes happen, and give you tips on how to avoid them.
Please enable JavaScript to continue using this application.