It&#x27;s a query with an existence constraint, meaning that the query will only return data if at least 1 value is returned by the EXISTS predicate.  In this case, you should get back all the data from ThisTable as long as there&#x27;s a row in OtherTable.<p>But that&#x27;s not the &quot;tricky&quot; bit.  I&#x27;m using a feature of SQL that ignores the values in the SELECT clause when used as part of the EXISTS predicate.  In the past, people used to type in the EXISTS predicate SELECT 1... because it was (wrongfully[1]) assumed to be faster than SELECT &lt;column(s)&gt;.  This query proves that the query engine does not attempt to compute the SELECTed values.  If it didn&#x27;t, it would fail with a division by zero error.<p>[1] See Chapter 7.9:<p><pre><code>    If the &lt;select list&gt; &quot;*&quot; is simply contained in a &lt;subquery&gt; that
    is immediately contained in an &lt;exists predicate&gt;, then the &lt;select list&gt; is 
    equivalent to a &lt;value expression&gt; that is an arbitrary &lt;literal&gt;.
</code></pre>
<a href="http:&#x2F;&#x2F;www.contrib.andrew.cmu.edu&#x2F;~shadow&#x2F;sql&#x2F;sql1992.txt" rel="nofollow">http:&#x2F;&#x2F;www.contrib.andrew.cmu.edu&#x2F;~shadow&#x2F;sql&#x2F;sql1992.txt</a>