The Baeldung logo
  • The Baeldung Logo
  • Start Here
  • Courses ▼▲
    • Learn Java Collections

      Explore the Java Collections Framework and Algorithms

    • Learn Spring

      From no experience to actually building stuff​

    • Learn Maven

      Simplify your build with Apache Maven

    • View All Courses

  • Pricing
  • About ▼▲
    • Full Archive

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

    • About Baeldung

      About Baeldung

Monthly Archives: October 2024

Extracting the First N Characters of a Value in SQL

Learn how to extract a prefix of length N when querying string data in SQL. >>>

Accessing Outer Query Tables Within a Subquery

Learn how to use an outer reference in SQL to access an outer query table within a subquery. >>>

How to Query for Specific Values in an Integer Column in SQL

Learn how to query specific values from an integer column in SQL. >>>

Remove the Last Two Characters From a String Column in SQL

Learn about ways to use SQL for removing the last two characters of string within a column. >>>

Retrieving the Current Date and Time in SQL

Learn how to obtain the current date and time in MySQL, SQL Server, and PostgreSQL. >>>

What Is the Difference Between ER Diagrams and Database Schema?

Explore the differences between ER diagrams and database schema. >>>

How to Check Indexes on a Table in SQL

Explore various methods to check the indexes of a table in PostgreSQL, MySQL, and SQL Server. >>>

MySQL Dump by Query

Learn how to produce a dump via mysqldump according to a query. >>>

Adding a Foreign Key to an Existing SQL Table

Learn how to add a foreign key to a table. >>>

Insert Into a SQL Table or Update if the Row Exists

Explore inserting a row into a SQL table or updating the row if it already exists. >>>

  • ↑ Back to Top
  • 1
  • 2
  • 3
  • Next →
Authors – All
Authors – All

Recent Posts

  • Import an SQL File Using the Command Line in MySQL
  • Introduction to CrateDB
  • How to Retrieve the Database Size?
  • Viewing Roles and Permissions Granted to Users of Azure SQL Server Instance
  • How to Exclude a Column Using SELECT EXCEPT in SQL

Recent Comments

  1. Ulisses Lima on How to Remove Duplicate Rows in SQL
  2. Giri on How to Remove Duplicate Rows in SQL
The Baeldung logo

Categories

  • Database Concepts
  • SQL Queries

About

  • About Baeldung
  • The Full Archive
  • Editors
  • eBooks
  • FAQ
  • Baeldung Pro

Archives

  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • February 2024
  • December 2023
  • September 2023
  • August 2023
  • June 2023
  • March 2023
  • August 2022

Categories

  • Database Access
  • Database Concepts
  • database-manipulation
  • Databases
  • DDL
  • DML
  • Security
  • SQL Basics
  • SQL Constraints
  • SQL Functions
  • SQL Joins
  • SQL Operators
  • SQL Programming
  • SQL Queries
  • SQL Tables
  • SQL Views
  • Terms Of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo