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:
SELECT COUNT(UserModified) as SecondTally
FROM JobAgents
WHERE UserModified = 1
The value above is then subtracted from this value below.
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'
Any help with this would be greatly appreciated. Thanks a bunch.