The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Pricing
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung

SQL Queries » GROUP BY

Explore the guides below to learn some of the most common use cases for both basic and advanced queries in SQL.

  • Subquery (16)
  • SELECT (16)
  • WHERE (12)
  • x GROUP BY (10)
  • COUNT (10)
  • ORDER BY (9)
  • PostgreSQL (8)
  • MySQL (8)
  • LIKE (7)
  • Strings (7)
  • DISTINCT (6)
  • LIMIT (6)
  • Dates (6)
  • UPDATE (5)
  • INSERT (5)
  • INNER JOIN (5)

>> How to Return a Pivot Table Output in SQL?

>> Understanding and Handling the Error Column X is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause

>> Summing Values in a Column Grouped by ID in SQL

>> Run SQL Query on CSV File Contents From the Command Line

>> Group Query Results by Month and Year in SQL

>> Difference Between GROUP BY and DISTINCT in SQL

>> How to Remove Duplicate Rows in SQL

>> How to Use GROUP BY on Multiple Columns in SQL

>> Finding the Maximum Value Across Multiple Columns in SQL

>> How to Identify Duplicate Values in a SQL Table

Authors – All
Authors – All
The Baeldung logo

Categories

  • Database Concepts
  • SQL Queries

About

  • About Baeldung
  • The Full Archive
  • Editors
  • eBooks
  • FAQ
  • Baeldung Pro
  • Terms Of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo