提交 05c6a343 authored 作者: Thomas Mueller's avatar Thomas Mueller

Document UNION evaluation order.

上级 a8424521
...@@ -21,6 +21,10 @@ LIMIT limits the number of rows returned by the query, OFFSET specified ...@@ -21,6 +21,10 @@ LIMIT limits the number of rows returned by the query, OFFSET specified
how many rows to skip. SAMPLE_SIZE limits the number of rows read for how many rows to skip. SAMPLE_SIZE limits the number of rows read for
aggregate queries. aggregate queries.
Multiple set operators (UNION/INTERSECT/MINUS/EXPECT) are evaluated
from left to right. For compatibility with other databases and future versions
of H2 please use parentheses.
If FOR UPDATE is specified, the tables are locked for writing. If FOR UPDATE is specified, the tables are locked for writing.
"," ","
SELECT * FROM TEST; SELECT * FROM TEST;
......
...@@ -473,6 +473,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>. ...@@ -473,6 +473,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>Automatic mixed mode: support a port range list (to avoid firewall problems). </li><li>Automatic mixed mode: support a port range list (to avoid firewall problems).
</li><li>Support the pseudo column rowid, oid, _rowid_. </li><li>Support the pseudo column rowid, oid, _rowid_.
</li><li>Support TRUNCATE for linked tables. </li><li>Support TRUNCATE for linked tables.
</li><li>UNION: evaluate INTERSECT before UNION (like most other database except Oracle).
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -629,4 +629,4 @@ sweden abbreviated xmx trede googlecode gustav standing hashes ...@@ -629,4 +629,4 @@ sweden abbreviated xmx trede googlecode gustav standing hashes
decompressed expansion ziv abbreviated augments omitted gain decompressed expansion ziv abbreviated augments omitted gain
subtracted maxed logical lempel increases sibling impersonate proper remembers subtracted maxed logical lempel increases sibling impersonate proper remembers
moon centric adeptia workflows generalized bpchar binaries incremental poor moon centric adeptia workflows generalized bpchar binaries incremental poor
slowly prefs slowly prefs precedence
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论