title: Return 1 or 0 as a subquery field with EXISTS?
body: <p>I'm struggling to figure this one out.
  What I want to do is like so:</p>
  
  <pre><code>select [fields],
         ((select &lt;criteria&gt;) return 0 if no rows returned, return 1 if any rows returned) as SubqueryResult
  where a=b
  </code></pre>
  
  <p>Is this possible?</p>