comparison doc/manual.tex @ 1688:8c2e8d41a8f2

Correct an SQL grammar omission (thanks to Alexei Golovko for spotting the problem)
author Adam Chlipala <adam@chlipala.net>
date Sat, 25 Feb 2012 15:34:44 -0500
parents e0e19776857d
children 27d68ccb2c9e
comparison
equal deleted inserted replaced
1687:e0e19776857d 1688:8c2e8d41a8f2
2172 &&& \mt{IF} \; E \; \mt{THEN} \; E \; \mt{ELSE} \; E & \textrm{conditional} \\ 2172 &&& \mt{IF} \; E \; \mt{THEN} \; E \; \mt{ELSE} \; E & \textrm{conditional} \\
2173 &&& (Q) & \textrm{subquery (must return a single expression column)} \\ 2173 &&& (Q) & \textrm{subquery (must return a single expression column)} \\
2174 &&& (E) & \textrm{explicit precedence} \\ 2174 &&& (E) & \textrm{explicit precedence} \\
2175 \textrm{Nullary operators} & n &::=& \mt{CURRENT\_TIMESTAMP} \\ 2175 \textrm{Nullary operators} & n &::=& \mt{CURRENT\_TIMESTAMP} \\
2176 \textrm{Unary operators} & u &::=& \mt{NOT} \\ 2176 \textrm{Unary operators} & u &::=& \mt{NOT} \\
2177 \textrm{Binary operators} & b &::=& \mt{AND} \mid \mt{OR} \mid \neq \mid < \mid \leq \mid > \mid \geq \\ 2177 \textrm{Binary operators} & b &::=& \mt{AND} \mid \mt{OR} \mid = \mid \neq \mid < \mid \leq \mid > \mid \geq \\
2178 \textrm{Aggregate functions} & a &::=& \mt{COUNT} \mid \mt{AVG} \mid \mt{SUM} \mid \mt{MIN} \mid \mt{MAX} \\ 2178 \textrm{Aggregate functions} & a &::=& \mt{COUNT} \mid \mt{AVG} \mid \mt{SUM} \mid \mt{MIN} \mid \mt{MAX} \\
2179 \textrm{Directions} & o &::=& \mt{ASC} \mid \mt{DESC} \mid \{e\} \\ 2179 \textrm{Directions} & o &::=& \mt{ASC} \mid \mt{DESC} \mid \{e\} \\
2180 \textrm{SQL integer} & N &::=& n \mid \{e\} \\ 2180 \textrm{SQL integer} & N &::=& n \mid \{e\} \\
2181 \end{array}$$ 2181 \end{array}$$
2182 2182