title: Adding two values in SQL Server
body: <p>I'm looking to add two values in one single statement and I'm currently at a loss as to how to go about this, it should be simple enough here are my statements:</p>
  
  <pre><code> SELECT COUNT(UserModified) as SecondTally
   FROM JobAgents 
   WHERE UserModified = 1
  </code></pre>
  
  <p>The value above is then subtracted from this value below.</p>
  
  <pre><code> SELECT SUM(EmailsSent) as FirstTally
   FROM JobAgentEmails
   WHERE Date BETWEEN '7/1/2012 12:00:00 AM' AND '7/31/2012 11:59:59 PM'
  </code></pre>
  
  <p>Any help with this would be greatly appreciated. Thanks a bunch.</p>