scottyjohn
Technical User
Hi all,
I have the following Data....
ID START(UTC) END(UTC) DURATION STATE TRANSACTION_ID
------------------------------------------------------
1 1251384001 1251384102 101 INBOUND 31808563970
2 1251384102 1251384202 100 HOLD 31808563970
3 1251384202 1251384302 100 INBOUND 31808563970
4 1251384303 1251384402 99 INBOUND 31808563971
5 1251384402 1251384604 202 HOLD 31808563971
6 1251384604 1251384809 205 INBOUND 31808563971
Each transaction_ID is a unique voice call, and the example shows where the agent takes the call, then puts the customer on hold, then takes the call back again. What I need to be able to do is to run a query which will show a record containing the START of the first INBOUND status, the END time of the last INBOUND status for each Transaction_ID and a sum of the total inbound status time for that transaction_id. Would this be possible? I cant think how to achieve it.
Any help would be much appreciated
John
I have the following Data....
ID START(UTC) END(UTC) DURATION STATE TRANSACTION_ID
------------------------------------------------------
1 1251384001 1251384102 101 INBOUND 31808563970
2 1251384102 1251384202 100 HOLD 31808563970
3 1251384202 1251384302 100 INBOUND 31808563970
4 1251384303 1251384402 99 INBOUND 31808563971
5 1251384402 1251384604 202 HOLD 31808563971
6 1251384604 1251384809 205 INBOUND 31808563971
Each transaction_ID is a unique voice call, and the example shows where the agent takes the call, then puts the customer on hold, then takes the call back again. What I need to be able to do is to run a query which will show a record containing the START of the first INBOUND status, the END time of the last INBOUND status for each Transaction_ID and a sum of the total inbound status time for that transaction_id. Would this be possible? I cant think how to achieve it.
Any help would be much appreciated
John