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
  • Comparing Window Functions and Aggregate Functions: GROUP BY vs PARTITION BY

    SQL SELF
    Level 30, Lesson 0
    Find out how SQL window functions ( PARTITION BY) are different from aggregate functions ( GROUP BY): differences in results, query examples, when to use each approach, pros, and common mistakes.
    Available
  • Examples of Using Window Functions for Data Analysis

    SQL SELF
    Level 30, Lesson 1
    Check out some hands-on examples of how to use SQL window functions for data analysis: ranking, cumulative sums, splitting into quantiles, and time series analysis. These techniques will help you get a deeper understanding of what analytical queries can do.
    Available
  • Setting up a window frame with ROWS and RANGE

    SQL SELF
    Level 30, Lesson 2
    Learn how to control the range of rows for window functions in SQL using the ROWS and RANGE keywords. Detailed examples, approach comparisons, and common mistakes will help you confidently use window frames for analytics tasks.
    Available
  • Query Optimization with Window Functions

    SQL SELF
    Level 30, Lesson 3
    Learn how to speed up SQL queries with window functions in PostgreSQL: indexes, filtering, partitioning, materialized views, and other optimization tricks for working with big data volumes.
    Available
  • Common Mistakes When Using Window Functions

    SQL SELF
    Level 30, Lesson 4
    Check out the most common mistakes people make when working with window functions in SQL and learn how to avoid them. This article gives you practical examples, explanations, and tips for optimizing your queries.
    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