title: Finding count in two unrelated tables in a single query
body: <p>The following query is used to count the number of rows in two unrelated tables in a single query.</p>
  
  <pre><code>  With t1 as (Select 1 
                Union Select  2 
                Union Select 3),
    t2 as (Select 'A' 
           Union Select 'B')
  
    Select (Select count(*) from t1), (Select count(*) from t2)
  </code></pre>
  
  <p>Is there a better way to avoid the two select statements in the select query.</p>
  
  <p>The output should be </p>
  
  <pre><code>3 2
  </code></pre>
  
  <p>Any construct that is specific to Postgres will also do.</p>