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

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

  • SELECT (17)
  • Subquery (16)
  • WHERE (12)
  • 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 Check if a Record Exists in SQL

>> Generating a Range of Numbers Between Two Values in SQL

>> Difference Between JOIN and UNION in SQL

>> Difference Between COUNT(*), COUNT(1), COUNT(column), and COUNT(DISTINCT)

>> Get the First Day of a Month in SQL

>> Finding the Maximum Value Across Multiple Columns in SQL

>> Difference Between HAVING and WHERE in SQL

>> How to Use Condition in Count in SQL

>> Retrieving Data From Multiple Tables With SQL Queries

>> How to Identify Duplicate Values in a SQL Table

  • «
  • ← Previous
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • Next →
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