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: July 2025

How to Interpret and Fix the MySQL Error 1093 – Can’t specify target table for update in FROM clause

When working with MySQL, we might run into “ERROR 1093 (HY000): You can’t specify target table ‘x’ for update in FROM clause”. This error typically occurs when trying to access the outer query table within a subquery in an UPDATE or a DELETE statement. We can’t do this, but there are a few ways that we can rework our query to still get what we need. >>>

How to Fix Error 1064 When Using ALTER TABLE ADD CONSTRAINT in MySQL

MySQL’s Error 1064 (42000) when using the ALTER TABLE … ADD CONSTRAINT statement could be tricky to fix. It provides very sketchy information regarding the error itself, only directing the user to check the syntax without telling what the syntax issue is. >>>

  • «
  • ← Previous
  • 1
  • 2
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