8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

5.3.4 从表中检索信息5.3.4 Retrieving Information from a Table

SELECT 语句用于从表中提取信息。语句的一般形式为:The SELECT statement is used to pull information from a table. The general form of the statement is:

SELECT what_to_select
FROM which_table
WHERE conditions_to_satisfy;

what_to_select 表示您想查看的内容。这可以是一列列名的列表,或者使用 * 表示 “所有列。” which_table 表示您想从中检索数据的表。WHERE 子句是可选的。如果存在,conditions_to_satisfy 指定一条或多条行必须满足的条件,以便符合检索资格。what_to_select indicates what you want to see. This can be a list of columns, or * to indicate “all columns.” which_table indicates the table from which you want to retrieve data. The WHERE clause is optional. If it is present, conditions_to_satisfy specifies one or more conditions that rows must satisfy to qualify for retrieval.