diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-02-03 08:30:56 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-02-03 08:30:56 -0500 |
commit | bd436ef8118359169a43525aa57bdbee5f784500 (patch) | |
tree | 125c91833d2628da2b9ff4d224c4bd1a8a06627d | |
parent | 4538805297f36f5000c23d5f5f8d851071480d8f (diff) |
Mention convention for parens in selected expressions
-rw-r--r-- | doc/manual.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual.tex b/doc/manual.tex index 2de26b38..2097f71a 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -2178,7 +2178,7 @@ $$\begin{array}{rrcll} Additionally, an SQL expression may be inserted into normal Ur code with the syntax $(\mt{SQL} \; E)$ or $(\mt{WHERE} \; E)$. Similar shorthands exist for other nonterminals, with the prefix $\mt{FROM}$ for $\mt{FROM}$ items and $\mt{SELECT1}$ for pre-queries. -Unnamed expression columns in $\mt{SELECT}$ clauses are assigned consecutive natural numbers, starting with 1. +Unnamed expression columns in $\mt{SELECT}$ clauses are assigned consecutive natural numbers, starting with 1. Any expression in a $p$ position that is enclosed in parentheses is treated as an expression column, rather than a column pulled directly out of a table, even if it is only a field projection. (This distinction affects the record type used to describe query results.) \subsubsection{DML} |