Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58617e4

Browse files
committed
doc: Clarify description of VALUES command
Greg Smith
1 parentf73cb55 commit58617e4

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎doc/src/sgml/queries.sgml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,16 @@ SELECT 3, 'three';
16091609
<literal>VALUES</> table. The column names are not specified by the
16101610
SQL standard and different database systems do it differently, so
16111611
it's usually better to override the default names with a table alias
1612-
list.
1612+
list, like this:
1613+
<programlisting>
1614+
=> SELECT * FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) AS t (num,letter);
1615+
num | letter
1616+
-----+--------
1617+
1 | one
1618+
2 | two
1619+
3 | three
1620+
(3 rows)
1621+
</programlisting>
16131622
</para>
16141623

16151624
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp