# Chapter 13 SQL Statements

**Table of Contents**

[13.1 Data Definition Statements](sql-data-definition-statements.html)
[13.1.1 Atomic Data Definition Statement Support](atomic-ddl.html)
[13.1.2 ALTER DATABASE Statement](alter-database.html)
[13.1.3 ALTER EVENT Statement](alter-event.html)
[13.1.4 ALTER FUNCTION Statement](alter-function.html)
[13.1.5 ALTER INSTANCE Statement](alter-instance.html)
[13.1.6 ALTER LOGFILE GROUP Statement](alter-logfile-group.html)
[13.1.7 ALTER PROCEDURE Statement](alter-procedure.html)
[13.1.8 ALTER SERVER Statement](alter-server.html)
[13.1.9 ALTER TABLE Statement](alter-table.html)
[13.1.10 ALTER TABLESPACE Statement](alter-tablespace.html)
[13.1.11 ALTER VIEW Statement](alter-view.html)
[13.1.12 CREATE DATABASE Statement](create-database.html)
[13.1.13 CREATE EVENT Statement](create-event.html)
[13.1.14 CREATE FUNCTION Statement](create-function.html)
[13.1.15 CREATE INDEX Statement](create-index.html)
[13.1.16 CREATE LOGFILE GROUP Statement](create-logfile-group.html)
[13.1.17 CREATE PROCEDURE and CREATE FUNCTION Statements](create-procedure.html)
[13.1.18 CREATE SERVER Statement](create-server.html)
[13.1.19 CREATE SPATIAL REFERENCE SYSTEM Statement](create-spatial-reference-system.html)
[13.1.20 CREATE TABLE Statement](create-table.html)
[13.1.21 CREATE TABLESPACE Statement](create-tablespace.html)
[13.1.22 CREATE TRIGGER Statement](create-trigger.html)
[13.1.23 CREATE VIEW Statement](create-view.html)
[13.1.24 DROP DATABASE Statement](drop-database.html)
[13.1.25 DROP EVENT Statement](drop-event.html)
[13.1.26 DROP FUNCTION Statement](drop-function.html)
[13.1.27 DROP INDEX Statement](drop-index.html)
[13.1.28 DROP LOGFILE GROUP Statement](drop-logfile-group.html)
[13.1.29 DROP PROCEDURE and DROP FUNCTION Statements](drop-procedure.html)
[13.1.30 DROP SERVER Statement](drop-server.html)
[13.1.31 DROP SPATIAL REFERENCE SYSTEM Statement](drop-spatial-reference-system.html)
[13.1.32 DROP TABLE Statement](drop-table.html)
[13.1.33 DROP TABLESPACE Statement](drop-tablespace.html)
[13.1.34 DROP TRIGGER Statement](drop-trigger.html)
[13.1.35 DROP VIEW Statement](drop-view.html)
[13.1.36 RENAME TABLE Statement](rename-table.html)
[13.1.37 TRUNCATE TABLE Statement](truncate-table.html)
[13.2 Data Manipulation Statements](sql-data-manipulation-statements.html)
[13.2.1 CALL Statement](call.html)
[13.2.2 DELETE Statement](delete.html)
[13.2.3 DO Statement](do.html)
[13.2.4 HANDLER Statement](handler.html)
[13.2.5 IMPORT TABLE Statement](import-table.html)
[13.2.6 INSERT Statement](insert.html)
[13.2.7 LOAD DATA Statement](load-data.html)
[13.2.8 LOAD XML Statement](load-xml.html)
[13.2.9 REPLACE Statement](replace.html)
[13.2.10 SELECT Statement](select.html)
[13.2.11 Subqueries](subqueries.html)
[13.2.12 TABLE Statement](table.html)
[13.2.13 UPDATE Statement](update.html)
[13.2.14 VALUES Statement](values.html)
[13.2.15 WITH (Common Table Expressions)](with.html)
[13.3 Transactional and Locking Statements](sql-transactional-statements.html)
[13.3.1 START TRANSACTION, COMMIT, and ROLLBACK Statements](commit.html)
[13.3.2 Statements That Cannot Be Rolled Back](cannot-roll-back.html)
[13.3.3 Statements That Cause an Implicit Commit](implicit-commit.html)
[13.3.4 SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT Statements](savepoint.html)
[13.3.5 LOCK INSTANCE FOR BACKUP and UNLOCK INSTANCE Statements](lock-instance-for-backup.html)
[13.3.6 LOCK TABLES and UNLOCK TABLES Statements](lock-tables.html)
[13.3.7 SET TRANSACTION Statement](set-transaction.html)
[13.3.8 XA Transactions](xa.html)
[13.4 Replication Statements](sql-replication-statements.html)
[13.4.1 SQL Statements for Controlling Source Servers](replication-statements-master.html)
[13.4.2 SQL Statements for Controlling Replica Servers](replication-statements-replica.html)
[13.4.3 SQL Statements for Controlling Group Replication](replication-statements-group.html)
[13.5 Prepared Statements](sql-prepared-statements.html)
[13.5.1 PREPARE Statement](prepare.html)
[13.5.2 EXECUTE Statement](execute.html)
[13.5.3 DEALLOCATE PREPARE Statement](deallocate-prepare.html)
[13.6 Compound Statement Syntax](sql-compound-statements.html)
[13.6.1 BEGIN ... END Compound Statement](begin-end.html)
[13.6.2 Statement Labels](statement-labels.html)
[13.6.3 DECLARE Statement](declare.html)
[13.6.4 Variables in Stored Programs](stored-program-variables.html)
[13.6.5 Flow Control Statements](flow-control-statements.html)
[13.6.6 Cursors](cursors.html)
[13.6.7 Condition Handling](condition-handling.html)
[13.6.8 Restrictions on Condition Handling](condition-handling-restrictions.html)
[13.7 Database Administration Statements](sql-server-administration-statements.html)
[13.7.1 Account Management Statements](account-management-statements.html)
[13.7.2 Resource Group Management Statements](resource-group-statements.html)
[13.7.3 Table Maintenance Statements](table-maintenance-statements.html)
[13.7.4 Component, Plugin, and Loadable Function Statements](component-statements.html)
[13.7.5 CLONE Statement](clone.html)
[13.7.6 SET Statements](set-statement.html)
[13.7.7 SHOW Statements](show.html)
[13.7.8 Other Administrative Statements](other-administrative-statements.html)
[13.8 Utility Statements](sql-utility-statements.html)
[13.8.1 DESCRIBE Statement](describe.html)
[13.8.2 EXPLAIN Statement](explain.html)
[13.8.3 HELP Statement](help.html)
[13.8.4 USE Statement](use.html)

 This chapter describes the syntax for the [SQL](glossary.html#glos_sql) statements supported by MySQL.

