title: How to do a Select in another Select with Postgresql
body: <p>I must do this query in another <code>Select</code> in Postgresql : </p>
  
  <pre><code>SELECT COUNT(tn.autoship_box_transaction_id) 
  FROM memberships.autoship_box_transaction tn 
  WHERE tn.autoship_box_id = b.autoship_box_id
  </code></pre>
  
  <p>Do I must use the clause <code>WITH</code> ?</p>