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
  • What are nested queries and why do we need them?

    SQL SELF
    Level 13, Lesson 0
    In this lesson, you'll find out what nested queries (or subqueries) in SQL are, why we need them, what types of nested queries exist, and how they help you solve tricky problems when working with databases.
    Available
  • Using SELECT inside SELECT

    SQL SELF
    Level 13, Lesson 1
    Learn how to use subqueries in SELECT to calculate aggregates, create extra columns, and do analytics right in your SQL queries. Examples are for a university training database.
    Available
  • Filtering data with IN and NOT IN

    SQL SELF
    Level 13, Lesson 2
    Learn how to use the IN and NOT IN operators in SQL to filter data efficiently, shorten long conditions, and make your queries more readable. We'll check out some examples, special cases with NULL, and some best practices.
    Available
  • Checking if Data Exists with EXISTS and NOT EXISTS

    SQL SELF
    Level 13, Lesson 3
    Learn how to use the EXISTS and NOT EXISTS operators in SQL to efficiently check for data existence, compare with IN, and avoid common mistakes when working with subqueries. Examples, explanations, and real-world tasks — all in one lecture!
    Available
  • Views (`VIEW`) in PostgreSQL

    SQL SELF
    Level 13, Lesson 4
    Learn how to use views (VIEW) in PostgreSQL to make complex SQL queries simpler, boost code readability, reuse selections, and control access to data. Real-life examples, tips, and what you need to know about updatable VIEWs.
    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