We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ae1c9b commit c986c59Copy full SHA for c986c59
postgresql/doc/src/sgml/queries.sgml
@@ -1444,9 +1444,11 @@ SELECT <replaceable>select_list</replaceable>
1444
eliminate redundancy in the output and/or compute aggregates that
1445
apply to these groups. For instance:
1446
-->
1447
-<xref linkend="sql-groupby" endterm="sql-groupby-title">子句用于把那些所有列出的
1448
-grouping_column_reference值都相同的行组合在一起,缩减为一行,
1449
-这样就可以删除输出里的重复和/或计算应用于这些组的聚合。这些字段的列出顺序无关紧要。
+<xref linkend="sql-groupby" endterm="sql-groupby-title">
+子句用于将一个表中所有列出的字段值都相等的行分成一组。
+字段列出的顺序没什么关系。
1450
+效果是将每个拥有相同值的行集合并为一组,代表该组中的所有行。
1451
+这样就可以删除输出里的重复,和/或计算应用于这些组的聚合。
1452
比如:
1453
<screen>
1454
<prompt>=></> <userinput>SELECT * FROM test1;</>
0 commit comments