Created
October 31, 2013 21:50
-
-
Save fergus/7257811 to your computer and use it in GitHub Desktop.
Interactive Intelligence (ININ) Customer Interaction Centre (CIC) 3.0 MS SQL Query for returning the wrap-up code associated with a specific Workgroup.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Interactive Intelligence (ININ) Customer Interaction Centre (CIC) 3.0 MS SQL Query for returning the wrap-up code counts associated with a specific Workgroup. | |
SELECT WrapUpCode, count(WrapUpCode) as WrapupCount | |
FROM dbo.calldetail | |
WHERE | |
InitiatedDate > '2013-09-01' AND InitiatedDate < '2013-10-01' | |
AND InteractionType = 0 -- Phone Calls Only | |
AND CallEventLog like '%Entered Workgroup Queue - Call Centre Secured Loans%' | |
GROUP BY WrapUpCode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment