|
1 |
| -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/queries.sgml,v 1.5 2001/02/15 04:10:54 tgl Exp $ --> |
| 1 | +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/queries.sgml,v 1.6 2001/03/24 23:03:26 petere Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="queries">
|
4 | 4 | <title>Queries</title>
|
@@ -146,7 +146,7 @@ FROM <replaceable>table_reference</replaceable> <optional>, <replaceable>table_r
|
146 | 146 | <listitem>
|
147 | 147 |
|
148 | 148 | <synopsis>
|
149 |
| -<replaceable>T1</replaceable> { <optional>INNER</optional> | { LEFT | RIGHT | FULL } <optional>OUTER</optional> } JOIN <replaceable>T2</replaceable> ON <replaceable>boolean expression</replaceable> |
| 149 | +<replaceable>T1</replaceable> { <optional>INNER</optional> | { LEFT | RIGHT | FULL } <optional>OUTER</optional> } JOIN <replaceable>T2</replaceable> ON <replaceable>boolean_expression</replaceable> |
150 | 150 | <replaceable>T1</replaceable> { <optional>INNER</optional> | { LEFT | RIGHT | FULL } <optional>OUTER</optional> } JOIN <replaceable>T2</replaceable> USING ( <replaceable>join column list</replaceable> )
|
151 | 151 | <replaceable>T1</replaceable> NATURAL { <optional>INNER</optional> | { LEFT | RIGHT | FULL } <optional>OUTER</optional> } JOIN <replaceable>T2</replaceable>
|
152 | 152 | </synopsis>
|
@@ -403,9 +403,9 @@ FROM (SELECT * FROM T1) DT1, T2, T3
|
403 | 403 | <para>
|
404 | 404 | The syntax of the WHERE clause is
|
405 | 405 | <synopsis>
|
406 |
| -WHERE <replaceable>search condition</replaceable> |
| 406 | +WHERE <replaceable>search_condition</replaceable> |
407 | 407 | </synopsis>
|
408 |
| - where <replaceable>search condition</replaceable> is any value |
| 408 | + where <replaceable>search_condition</replaceable> is any value |
409 | 409 | expression as defined in <xref linkend="sql-expressions"> that
|
410 | 410 | returns a value of type <type>boolean</type>.
|
411 | 411 | </para>
|
@@ -579,10 +579,11 @@ SELECT pid AS "Products",
|
579 | 579 | <title>Select Lists</title>
|
580 | 580 |
|
581 | 581 | <para>
|
582 |
| - The table expression in the <command>SELECT</command> command |
| 582 | + As shown in the previous section, |
| 583 | + the table expression in the <command>SELECT</command> command |
583 | 584 | constructs an intermediate virtual table by possibly combining
|
584 | 585 | tables, views, eliminating rows, grouping, etc. This table is
|
585 |
| - finally passed on to processing by the select list. The select |
| 586 | + finally passed on to processing by the <firstterm>select list</firstterm>. The select |
586 | 587 | list determines which <emphasis>columns</emphasis> of the
|
587 | 588 | intermediate table are actually output. The simplest kind of select list
|
588 | 589 | is <literal>*</literal> which emits all columns that the table
|
|
0 commit comments