Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
SELECT auditors.auditorID ,auditors.fName , COUNT(DISTINCT case when claims.dateon >='20140928' AND claims.dateon < '20141028' AND entries.errorCode NOT IN('DP','RB','WP','PE') then claims.rID end) as rTotal30 , SUM(case when claims.dateon >= '20140928' AND claims.dateon < '20141028' AND entries.errorCode NOT IN('DP','RB','WP','PE') then entries.refundDue else 0.0 end) as rate30 FROM auditors INNER JOIN claims ON claims.auditorID = auditors.auditorID INNER JOIN entries ON claims.rID = entries.rid WHERE claims.status = 'closed' AND (claims.dateon >= '20140630' AND claims.dateon < '20141028') GROUP BY auditors.auditorID , auditors.fname ORDER BY auditors.fName
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.