From 044e51a1d8d21daec245acad05560716b18e352c Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Fri, 3 Feb 2012 08:30:56 -0500 Subject: Mention convention for parens in selected expressions --- doc/manual.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/manual.tex') 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} -- cgit v1.2.3