circle-info
Webinar | The Great Database Exodus: Navigating Strategic Risk in the Post-Oracle MySQL Era
Watch Nowarrow-up-right
LogoLogo
search
⌘Ctrlk
Download MariaDBContact Us
  • Home
  • MariaDB Platform
  • Server
  • MaxScale
  • Analytics
  • Galera Cluster
  • Connectors
  • Tools
  • MariaDB Cloud
  • Release Notes
  • General Resources
GitBook Assistant
GitBook Assistant
Working...Thinking...
GitBook Assistant
Good morning

I'm here to help you with the docs.

⌘Ctrli
AI Based on your contextquestion-circle
LogoLogo
  • serverMariaDB Server Documentation
  • rabbit-runningQuickstart Guides
  • tvServer Usage
  • gearServer Management
  • shield-halvedSecurity
  • house-blankArchitecture
  • wrenchClients & Utilities
  • chart-mixedHA & Performance
  • paperclipReference
    • SQL Structure
    • SQL Statements
      • Comment Syntax
      • Account Management
      • Administrative Statements
      • Data Definition (DDL)
        • Atomic DDL
        • CONSTRAINT
        • RENAME TABLE
        • Renaming Databases
        • ALTER
        • CREATE
          • CREATE CATALOG
          • CREATE DATABASE
          • CREATE EVENT
          • CREATE FUNCTION
          • CREATE FUNCTION UDF
          • CREATE INDEX
          • CREATE LOGFILE GROUP
          • CREATE PACKAGE
          • CREATE PACKAGE BODY
          • CREATE PROCEDURE
          • CREATE ROLE
          • CREATE SEQUENCE
          • CREATE SERVER
          • CREATE TABLE
          • CREATE TABLE with Vectors
          • CREATE TABLESPACE
          • CREATE TRIGGER
          • CREATE USER
          • CREATE VIEW
          • Generated Columns
          • Invisible Columns
          • Silent Column Changes
        • DROP
      • Data Manipulation (DML)
      • Geometry Statements
      • Prepared Statements
      • Programmatic & Compound Statements
      • Stored Routine Statements
      • Table Statements
      • Transactions
    • SQL Functions
    • Data Types
    • Plugins
    • System Tables
    • Error Codes
    • Client/Server Protocol
    • Product Development
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. paperclipReferencechevron-right
  2. SQL Statementschevron-right
  3. Data Definition (DDL)

CREATE

Explore the CREATE statements used to define new database objects. This guide covers syntax for creating databases, tables, indexes, views, and stored routines.

CREATE CATALOGchevron-rightCREATE DATABASEchevron-rightCREATE EVENTchevron-rightCREATE FUNCTIONchevron-rightCREATE FUNCTION UDFchevron-rightCREATE INDEXchevron-rightCREATE LOGFILE GROUPchevron-rightCREATE PACKAGEchevron-rightCREATE PACKAGE BODYchevron-rightCREATE PROCEDUREchevron-rightCREATE ROLEchevron-rightCREATE SEQUENCEchevron-rightCREATE SERVERchevron-rightCREATE TABLEchevron-rightCREATE TABLE with Vectorschevron-rightCREATE TABLESPACEchevron-rightCREATE TRIGGERchevron-rightCREATE USERchevron-rightCREATE VIEWchevron-right
PreviousALTER TABLESPACEchevron-leftNextCREATE DATABASEchevron-right

Last updated 3 months ago

Was this helpful?

LogoLogo

Products

  • Enterprise Platform
  • Community Server
  • Download MariaDB
  • Pricing

Support

  • Customer Login
  • Technical Support
  • Remote DBA
  • Professional Services

Resources

  • MariaDB Blog
  • Webinars
  • Customer Stories
  • MariaDB Events
  • Documentation
  • Developer Hub

Company

  • About MariaDB
  • Newsroom
  • Leadership
  • MariaDB Careers
  • Legal
  • Privacy Policy

© 2026 MariaDB. All rights reserved.

Was this helpful?