# 第 13 章 SQL 语句

**目录**

[13.1 数据定义语句](sql-data-definition-statements.html)
[13.1.1 原子数据定义语句支持](atomic-ddl.html)
[13.1.2 ALTER DATABASE 语句](alter-database.html)
[13.1.3 ALTER EVENT 语句](alter-event.html)
[13.1.4 ALTER FUNCTION 语句](alter-function.html)
[13.1.5 ALTER INSTANCE 语句](alter-instance.html)
[13.1.6 ALTER LOGFILE GROUP 语句](alter-logfile-group.html)
[13.1.7 ALTER PROCEDURE 语句](alter-procedure.html)
[13.1.8 ALTER SERVER 语句](alter-server.html)
[13.1.9 ALTER TABLE 语句](alter-table.html)
[13.1.10 ALTER TABLESPACE 语句](alter-tablespace.html)
[13.1.11 ALTER VIEW 语句](alter-view.html)
[13.1.12 创建数据库语句](create-database.html)
[13.1.13 CREATE EVENT 语句](create-event.html)
[13.1.14 创建函数语句](create-function.html)
[13.1.15 CREATE INDEX 语句](create-index.html)
[13.1.16 CREATE LOGFILE GROUP 语句](create-logfile-group.html)
[13.1.17 CREATE PROCEDURE 和 CREATE FUNCTION 语句](create-procedure.html)
[13.1.18 CREATE SERVER 语句](create-server.html)
[13.1.19 CREATE SPATIAL REFERENCE SYSTEM 语句](create-spatial-reference-system.html)
[13.1.20 CREATE TABLE 语句](create-table.html)
[13.1.21 CREATE TABLESPACE 语句](create-tablespace.html)
[13.1.22 CREATE TRIGGER 语句](create-trigger.html)
[13.1.23 创建视图语句](create-view.html)
[13.1.24 DROP DATABASE 语句](drop-database.html)
[13.1.25 DROP EVENT 语句](drop-event.html)
[13.1.26 DROP FUNCTION 语句](drop-function.html)
[13.1.27 DROP INDEX 语句](drop-index.html)
[13.1.28 DROP LOGFILE GROUP 语句](drop-logfile-group.html)
[13.1.29 DROP PROCEDURE 和 DROP FUNCTION 语句](drop-procedure.html)
[13.1.30 DROP SERVER 语句](drop-server.html)
[13.1.31 DROP SPATIAL REFERENCE SYSTEM 语句](drop-spatial-reference-system.html)
[13.1.32 DROP TABLE 语句](drop-table.html)
[13.1.33 DROP TABLESPACE 语句](drop-tablespace.html)
[13.1.34 DROP TRIGGER 语句](drop-trigger.html)
[13.1.35 DROP VIEW 语句](drop-view.html)
[13.1.36 重命名表语句](rename-table.html)
[13.1.37 TRUNCATE TABLE 语句](truncate-table.html)
[13.2 数据操作语句](sql-data-manipulation-statements.html)
[13.2.1 CALL 语句](call.html)
[13.2.2 DELETE 语句](delete.html)
[13.2.3 DO 语句](do.html)
[13.2.4 处理程序语句](handler.html)
[13.2.5 IMPORT TABLE 语句](import-table.html)
[13.2.6 INSERT 语句](insert.html)
[13.2.7 加载数据语句](load-data.html)
[13.2.8 加载 XML 语句](load-xml.html)
[13.2.9 替换语句](replace.html)
[13.2.10 SELECT 语句](select.html)
[13.2.11 子查询](subqueries.html)
[13.2.12 TABLE 语句](table.html)
[13.2.13 更新语句](update.html)
[13.2.14 VALUES 语句](values.html)
[13.2.15 WITH（公用表表达式）](with.html)
[13.3 事务和锁定语句](sql-transactional-statements.html)
[13.3.1 START TRANSACTION、COMMIT 和 ROLLBACK 语句](commit.html)
[13.3.2 不能回滚的语句](cannot-roll-back.html)
[13.3.3 导致隐式提交的语句](implicit-commit.html)
[13.3.4 SAVEPOINT、ROLLBACK TO SAVEPOINT 和 RELEASE SAVEPOINT 语句](savepoint.html)
[13.3.5 LOCK INSTANCE FOR BACKUP 和 UNLOCK INSTANCE 语句](lock-instance-for-backup.html)
[13.3.6 LOCK TABLES 和 UNLOCK TABLES 语句](lock-tables.html)
[13.3.7 SET TRANSACTION 语句](set-transaction.html)
[13.3.8 XA 事务](xa.html)
[13.4 复制语句](sql-replication-statements.html)
[13.4.1 用于控制源服务器的 SQL 语句](replication-statements-master.html)
[13.4.2 用于控制副本服务器的 SQL 语句](replication-statements-replica.html)
[13.4.3 控制组复制的 SQL 语句](replication-statements-group.html)
[13.5 准备好的报表](sql-prepared-statements.html)
[13.5.1 PREPARE 语句](prepare.html)
[13.5.2 执行语句](execute.html)
[13.5.3 DEALLOCATE PREPARE 语句](deallocate-prepare.html)
[13.6 复合语句语法](sql-compound-statements.html)
[13.6.1 BEGIN ... END 复合语句](begin-end.html)
[13.6.2 语句标签](statement-labels.html)
[13.6.3 DECLARE 语句](declare.html)
[13.6.4 存储程序中的变量](stored-program-variables.html)
[13.6.5 流控制语句](flow-control-statements.html)
[13.6.6 游标](cursors.html)
[13.6.7 条件处理](condition-handling.html)
[13.6.8 条件处理的限制](condition-handling-restrictions.html)
[13.7 数据库管理语句](sql-server-administration-statements.html)
[13.7.1 账户管理报表](account-management-statements.html)
[13.7.2 资源组管理报表](resource-group-statements.html)
[13.7.3 表维护语句](table-maintenance-statements.html)
[13.7.4 组件、插件和可加载函数语句](component-statements.html)
[13.7.5 CLONE 语句](clone.html)
[13.7.6 SET 语句](set-statement.html)
[13.7.7 SHOW 语句](show.html)
[13.7.8 其他管理声明](other-administrative-statements.html)
[13.8 实用程序语句](sql-utility-statements.html)
[13.8.1 DESCRIBE 语句](describe.html)
[13.8.2 EXPLAIN 语句](explain.html)
[13.8.3 帮助语句](help.html)
[13.8.4 使用语句](use.html)

本章介绍了[SQL](glossary.html#glos_sql)MySQL 支持的语句。
