title: Subtract counts returned from two tables using tsql
body: <p>I have two tables called <code>A</code> and <code>B</code>.</p>
  
  <p>Table <code>A</code> contains request details such as 
  <code>request_id</code>, <code>company_id</code>, and <code>Customer_id</code>. </p>
  
  <p>Table B contains feedback data such as <code>feedback_id</code>, <code>company_id</code>, <code>status_ind</code>,<code>customer_id</code>, <code>score_total</code>. </p>
  
  <p>I need to get the count of rows of table <code>B</code> which has corresponding <code>company_id</code> with table <code>A</code> where the <code>status_ind</code> is <code>1</code> and subtract from the count of table <code>A</code>.  </p>