Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Nov 22, 2023
1 parent 9ec16eb commit b7ce63c
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 32 deletions.
4 changes: 2 additions & 2 deletions expressions/embedded_functions/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions expressions/extended_expression/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion expressions/field_references/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions expressions/subqueries/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</code></pre></div> <table> <thead> <tr> <th>Property</th> <th>Description</th> <th>Required</th> </tr> </thead> <tbody> <tr> <td>Needles</td> <td>Expressions whose existence will be checked</td> <td>Yes</td> </tr> <tr> <td>Haystack</td> <td>Subquery to check</td> <td>Yes</td> </tr> </tbody> </table> <h3 id=set-predicates>Set predicates<a class=headerlink href=#set-predicates title="Permanent link">&para;</a></h3> <p>A set predicate is a predicate over a set of rows in the form of a subquery.</p> <p><code>EXISTS</code> and <code>UNIQUE</code> are common SQL spellings of these kinds of predicates.</p> <table> <thead> <tr> <th>Property</th> <th>Description</th> <th>Required</th> </tr> </thead> <tbody> <tr> <td>Operation</td> <td>The operation to perform over the set</td> <td>Yes</td> </tr> <tr> <td>Tuples</td> <td>Set of tuples to check using the operation</td> <td>Yes</td> </tr> </tbody> </table> <h3 id=set-comparisons>Set comparisons<a class=headerlink href=#set-comparisons title="Permanent link">&para;</a></h3> <p>A set comparison subquery is a subquery comparison using <code>ANY</code> or <code>ALL</code> operations.</p> <h4 id=examples_1>Examples<a class=headerlink href=#examples_1 title="Permanent link">&para;</a></h4> <div class=highlight><pre><span></span><code><span class=k>SELECT</span><span class=w> </span><span class=o>*</span>
<span class=k>FROM</span><span class=w> </span><span class=n>t1</span>
<span class=k>WHERE</span><span class=w> </span><span class=n>x</span><span class=w> </span><span class=o>&lt;</span><span class=w> </span><span class=k>ANY</span><span class=p>(</span><span class=k>SELECT</span><span class=w> </span><span class=n>y</span><span class=w> </span><span class=k>from</span><span class=w> </span><span class=n>t2</span><span class=p>)</span>
</code></pre></div> <table> <thead> <tr> <th>Property</th> <th>Description</th> <th>Required</th> </tr> </thead> <tbody> <tr> <td>Reduction operation</td> <td>The kind of reduction to use over the subquery</td> <td>Yes</td> </tr> <tr> <td>Comparison operation</td> <td>The kind of comparison operation to use</td> <td>Yes</td> </tr> <tr> <td>Expression</td> <td>Left-hand side expression to check</td> <td>Yes</td> </tr> <tr> <td>Subquery</td> <td>Subquery to check</td> <td>Yes</td> </tr> </tbody> </table> <div class=tabbed-set data-tabs=1:1><input checked=checked id=__tabbed_1_1 name=__tabbed_1 type=radio><label for=__tabbed_1_1>Protobuf Representation</label><div class=tabbed-content> <div class=highlight><pre><span></span><code><span class=kd>message</span><span class=w> </span><span class=nc>Subquery</span><span class=w> </span><span class=p>{</span>
</code></pre></div> <table> <thead> <tr> <th>Property</th> <th>Description</th> <th>Required</th> </tr> </thead> <tbody> <tr> <td>Reduction operation</td> <td>The kind of reduction to use over the subquery</td> <td>Yes</td> </tr> <tr> <td>Comparison operation</td> <td>The kind of comparison operation to use</td> <td>Yes</td> </tr> <tr> <td>Expression</td> <td>Left-hand side expression to check</td> <td>Yes</td> </tr> <tr> <td>Subquery</td> <td>Subquery to check</td> <td>Yes</td> </tr> </tbody> </table> <div class="tabbed-set tabbed-alternate" data-tabs=1:1><input checked=checked id=__tabbed_1_1 name=__tabbed_1 type=radio><div class=tabbed-labels><label for=__tabbed_1_1>Protobuf Representation</label></div> <div class=tabbed-content> <div class=tabbed-block> <div class=highlight><pre><span></span><code><span class=kd>message</span><span class=w> </span><span class=nc>Subquery</span><span class=w> </span><span class=p>{</span>
<span class=w> </span><span class=k>oneof</span><span class=w> </span><span class=n>subquery_type</span><span class=w> </span><span class=p>{</span>
<span class=w> </span><span class=c1>// Scalar subquery</span>
<span class=w> </span><span class=n>Scalar</span><span class=w> </span><span class=na>scalar</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=mi>1</span><span class=p>;</span>
Expand Down Expand Up @@ -83,7 +83,7 @@
<span class=w> </span><span class=n>Rel</span><span class=w> </span><span class=na>right</span><span class=w> </span><span class=o>=</span><span class=w> </span><span class=mi>4</span><span class=p>;</span>
<span class=w> </span><span class=p>}</span>
<span class=p>}</span>
</code></pre></div> </div> </div> </article> </div> </div> </main> <!--
</code></pre></div> </div> </div> </div> </article> </div> </div> </main> <!--
Copyright (c) 2016-2020 Martin Donath <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
26 changes: 13 additions & 13 deletions relations/logical_relations/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions serialization/binary_serialization/index.html

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion types/type_classes/index.html

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions types/type_parsing/index.html

Large diffs are not rendered by default.

0 comments on commit b7ce63c

Please sign in to comment.