Skip to Main Content
The world's most popular open source database
Contact MySQL  | 
Login  |  Register
  • MySQL.com
  • Downloads
  • Documentation
  • Developer Zone
Developer Zone Downloads MySQL.com
Documentation
  • MySQL Server
  • MySQL Enterprise
  • Workbench
  • InnoDB Cluster
  • MySQL NDB Cluster
  • Connectors
  • More
  • MySQL.com
  • Downloads
  • Developer Zone
Section Menu:  
Documentation Home
MySQL 8.4 Reference Manual
  • Preface and Legal Notices
  • General Information
  • Installing MySQL
  • Upgrading MySQL
  • Downgrading MySQL
  • Tutorial
  • MySQL Programs
  • MySQL Server Administration
  • Security
  • Backup and Recovery
  • Optimization
  • Language Structure
  • Character Sets, Collations, Unicode
  • Data Types
  • Functions and Operators
  • SQL Statements
    • Data Definition Statements
      • Atomic Data Definition Statement Support
      • ALTER DATABASE Statement
      • ALTER EVENT Statement
      • ALTER FUNCTION Statement
      • ALTER INSTANCE Statement
      • ALTER LOGFILE GROUP Statement
      • ALTER PROCEDURE Statement
      • ALTER SERVER Statement
      • ALTER TABLE Statement
        • ALTER TABLE Partition Operations
        • ALTER TABLE and Generated Columns
        • ALTER TABLE Examples
      • ALTER TABLESPACE Statement
      • ALTER VIEW Statement
      • CREATE DATABASE Statement
      • CREATE EVENT Statement
      • CREATE FUNCTION Statement
      • CREATE INDEX Statement
      • CREATE LOGFILE GROUP Statement
      • CREATE PROCEDURE and CREATE FUNCTION Statements
      • CREATE SERVER Statement
      • CREATE SPATIAL REFERENCE SYSTEM Statement
      • CREATE TABLE Statement
        • Files Created by CREATE TABLE
        • CREATE TEMPORARY TABLE Statement
        • CREATE TABLE ... LIKE Statement
        • CREATE TABLE ... SELECT Statement