CodeGym
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
  • 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.
    Available
  • 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.
    Available
  • 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.
    Available
  • 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.
    Available
  • 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.
    Available
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym