Records for the parameter and previous months

Hello

I asked where the parameter user is calendar year month (YYYYMM). I need to display the records of the previous month and month.
For ex: If the user enters 201107, I need to display the records of 201107 and 201106.
In addition, I do not use dashboards.
Any suggestion...

Thank you

The only way I can see this with the restrictions is to make the line of the multiple selection column and have the user select the two months. Other that that, you will need to use the dashboard of the guests.

Tags: Business Intelligence

Similar Questions

  • Third party for the next and previous buttons Widget

    Hi, anyone knows a widget of third party for the buttons 'previous' and 'next '? And I don't want a precedent and following in the browser history - I mean 'previous' and 'next' page on your site when you're on a certain level on the site, you don't need to go back a level all the time to click on your car forward to the next page.  Thank you for your help and advice! Jonas

    You can try this option;

    http://musewidgets.com/collections/all/products/animated-page-transitions

    Thank you

    Sanjit

  • Double charged for the service and support will not help!  Can you?

    Anyone know the secret to get a real person on the phone at Adobe?  These cat overseas representatives are not cut it!  I have a detailed transcript of a chat where the rep has no idea and can't even articulate their responses well enough to be called support. My problem is simple:

    Last month, Adobe somehow has not received my automatic membership via PayPal payment, even if the PayPal transaction has been completed, and the funds have been removed and delivered (I have documentation that Adobe don't want to watch).

    I used the support available to me - a poor attempt at a service of cat - nothing works.  The representative was informed of the situation and proceeded to charge me for the service once again, even though I told them I had already been charged, and it was a mistake on their part.  Now I have an another $49.99 charge on my account.  So that re - activate my subscription, it wasn't what I asked.  When I contacted PayPal about this, their response was to cancel my subscription, completely, but still no refund my second count (they also have a system of foreign aid, under normal)...  Now, I'm in the 'warning' of 30 days period before my service is completely turned off and not sure if I want to trust Adobe to my money, once again.  I contacted my bank - that should be a last resort, but I guess that is where I am, now.  They are willing to work with me, because I can pick up the phone and explain the situation to them.  Why I can't do this with Adobe?

    My last option is to take advantage of free legal assistance for my company and sue Adobe for $49.99, which seems silly, until you realize that it's free, and Disney has AMAZING lawyers at our disposal.  Is this really necessary?  Why am I put through so much aggravation due to the error of Adobe?  If I return, I would expect compensation for my trouble.  At least a few months of free service for the overload and my months of unrest.  Otherwise, affinity looking really tempting...

    Hello

    Please see Contact Support FAQ: impossible to reach support via the link "Contact us"

    Hope that helps!

    Kind regards

    Sheena

  • Return of the records for the current month, previous and next

    Hello.

    Robert Charlton contributed to my last question on this topic and thank him once more for this.

    When you filter the results of the report by using the following database returns records for the current week:


    WHERE 'SS_LEAVE '. "" LEAVE_TYPE "="SS_LEAVE_TYPE. " "" IDENTITY CARD ".

    AND)
    InStr (superior ("EMPLOYEE"), upper (nvl (: P2001_SEARCH, 'EMPLOYEE'))) > 0 or
    InStr (upper ("SUPERVISOR"), upper (nvl (: P2001_SEARCH, 'SUPERVISOR'))) > 0
    )
    AND TRUNC (end_date) < NEXT_DAY (TRUNC (CURRENT_TIMESTAMP) - 1, 'Sam') + 1
    AND TRUNC (end_date) > NEXT_DAY (TRUNC (CURRENT_TIMESTAMP) - 1, "Sat")-7


    My question is this time is:

    How to make a filter for the current month, the 'previous month', and 'next month '?


    Kind regards

    Steve Welch

    Steve,

    Current month:

    and trunc(end_date) >= trunc(current_timestamp,'MM') and trunc(end_date) < add_months(trunc(current_timestamp,'MM'),1)
    

    Previous month:

    and trunc(end_date) >= add_months(trunc(current_timestamp,'MM'),-1) and trunc(end_date) < trunc(current_timestamp,'MM')
    

    Next month:

    and trunc(end_date) >= add_months(trunc(current_timestamp,'MM'),1) and trunc(end_date) < add_months(trunc(current_timestamp,'MM'),2)
    

    -David

  • You want to display the current month and previous month data in a single record on forms?

    Hello experts,

    I have this requirement:

    Table structure:

    Division of months value totalAmount

    01-apr-2013 1 10000

    May 1, 2013 1 20000

    01-apr-2013 2 30000

    May 1, 2013 2 50000

    I want to display in forms such as

    Form:

    Month: May 1, 2013

    Total difference of month Division total division prev_Month

    May 1, 2013 1 10000 April 1, 2013 1 20000 10000

    May 1, 2013 2 30000 April 1, 2013 2 50000 20000

    I use two procedure to fetch the records for the current month and the previous month.

    but it will cause a problem, if for some data division previous month do not arise.

    Please suggest me some query I can get with current and data month pre to unique record.

    Please help me.

    Thank you

    Yoann

    I DON'T KNOW BUT TRY...

    Select the month of x.mn, x.division, total x.totalAmount, y.mn prev_month, y.division, total y.totalAmount, (y.totalAmount - y.totalAmount) difference

    Of

    (select month mn, division, totalAmount value)

    from table_name

    where month = (select max (month)

    from table_name

    )

    ) x,.

    (select month mn, division, totalAmount value)

    from table_name

    where month = (select add_months (max (month),-1))

    from table_name

    )

    ) y

    where x.division = y.division

    /

    ALEXANDER SIMONNET

    DHAKA BANGLADESH

  • Iterator for the table and form is a problem during the cleaning of the records

    Hello

    I use JDev 12.1.2.

    I have an object of the detail view. I represent a part of its fields in a table and the rest in a form. I use the same iterator. Basically, I dragged and dropped the object even from the view of the data control and created a table and form layout with the fields I wanted in each provision. I put in place a clear feature for the rows in the table with a clear"" key. -on click I delete the line of the iterator in the managed bean. When I do this the selected record is deleted and the next record is displayed. But fields entered in the form layout also gets deleted. (the form should also be showing the record currently selected - it shows but entrable fields in the form are deleted because of claire that I did on the previous line.) If anyone can help get this resolved?

    Not use the same iterator for the tables and forms here? The links are in the row (row.bindings...) for the table, but for the form it is (links...). The Delete on the current row operation is causing the iterator delete all fields of links instead of from the line? Please shed some light.

    Thank you

    UMA

    How do you rank on the iterator compensation?

    use resetActionListener in your clear button and let us know what is happening?

    Ashish

  • Need to query for the records of the last and the first of several records based on condititon

    Hi guru,.

    First of all thanks for all help so far...

    I have a quick requirement to write the sql code of the table to fullfill the slot time condition.

    I have a table a lot of files, but I want to filter the table date using logic below.

    1. There are several records for dm_cc_agent_dkey and service department and documents contain service = 'Sales' then select this folder.

    ex: dm_cc_agent_dkey = 4702

    {code}

    Select count (*), SERVICE_DEPARTMENT, dm DM_CC_AGENT_DKEY. Temp_Call_Center_tpc where dm_cc_agent_dkey = 4702

    SERVICE_DEPARTMENT group, DM_CC_AGENT_DKEY

    Count (*) Service_Department DM_CC_AGENT_DKEY

    78 4702 traveler assistance

    2672 NA 4702

    2995 sales 4702

    2. If several records for the Department of dm_cc_agent_dkey and service, but no after-sales service department can choose record max dm_date_dkey max

    ex: dm_cc_agent_dkey = 4074

    Select count (*), SERVICE_DEPARTMENT, dm DM_CC_AGENT_DKEY. Temp_Call_Center_tpc where dm_cc_agent_dkey = 4074

    SERVICE_DEPARTMENT group, DM_CC_AGENT_DKEY

    Count (*) Service_Department DM_CC_AGENT_DKEY

    21             NA                             4074

    Traveller 3 support 4074

    Create table statement:

    CREATE TABLE TEMP_CALL_CENTER_TPC

    (

    SERVICE_DEPARTMENT VARCHAR2 (100 BYTE),

    DM_DESTINATION_CODE_FKEY NUMBER (10) NOT NULL,

    DM_CC_ORIG_SERVICE_DKEY NUMBER (10) NOT NULL,

    DM_CC_ORIG_CALL_TYPE_DKEY NUMBER (10) NOT NULL,

    DM_DATE_DKEY NUMBER (10),

    DM_PUBLICATION_SOURCE_DKEY NUMBER (10) NOT NULL,

    DM_CC_AGENT_DKEY NUMBER (10) NOT NULL

    )

    INSERT orders:


    TOGETHER TO DEFINE

    -SQL statement that produces these data:

    --

    -SELECT DISTINCT service_department, dm_date_dkey, dm_cc_agent_dkey OF DM. TEMP_CALL_CENTER_TPC WHERE DM_CC_AGENT_DKEY IN (4074,4702);

    --

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10859, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10834, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10842, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10839, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10789, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10775, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10749, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10761, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10663, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10685, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10635, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10670, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10603, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10608, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10792, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10802, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10662, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10654, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10629, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10725, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11041, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11027, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11024, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11019, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11001, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10918, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10754, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10853, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10655, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10643, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10669, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11082, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11064, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10970, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 12578, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 12517, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11470, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11170, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11157, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11152, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11146, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11140, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11127, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11131, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11114, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11092, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11089, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11082, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11036, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11024, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11022, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10998, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10994, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10896, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10882, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10915, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10967, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10964, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10979, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10972, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10846, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10857, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10817, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10797, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10796, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10736, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10757, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10683, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10676, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10639, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10606, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10601, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10764, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10770, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10637, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10647, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10661, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10816, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10742, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10721, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10719, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11058, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11043, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10967, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10966, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10959, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10712, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10605, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10626, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10867, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10783, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10689, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10767, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10774, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11176, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11113, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11107, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11104, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11063, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11054, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11000, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10915, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10910, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 12424, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11523, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11175, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11159, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11156, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11128, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11124, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11110, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11100, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11090, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11063, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11035, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11033, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11026, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11007, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10886, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10887, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10924, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10921, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10957, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10946, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10949, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10974, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10907, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10854, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10825, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10841, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10782, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10769, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10718, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10726, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10657, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10660, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10633, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10612, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10790, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10642, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10649, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10681, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10714, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11062, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11003, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10988, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10963, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10968, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10909, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10720, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10867, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10619, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10791, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10770, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11191, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11194, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11159, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11147, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11140, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11100, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11085, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11079, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10971, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11563, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11181, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11162, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11149, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11135, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11105, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11099, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11097, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11075, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11055, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11005, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10992, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10984, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10966, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10893, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10953, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10977, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10865, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10845, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10855, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10832, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10684, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10741, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10722, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10688, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10664, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10640, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10632, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10656, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10615, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10607, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10763, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10783, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10667, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10776, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10655, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10756, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11057, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11022, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10991, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10960, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10949, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10981, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10743, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10675, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10769, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10799, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10782, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10776, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10649, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10613, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10847, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11195, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11189, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11117, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10995, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10913, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10979, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 12095, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11512, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11188, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11187, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11176, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11161, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11155, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11154, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11148, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11121, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11119, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11113, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11103, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11086, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11078, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11070, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11064, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11050, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11049, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11047, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11027, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11006, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10995, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10902, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10888, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10916, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10963, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10922, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10895, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10950, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10987, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10980, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10852, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10861, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10779, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10830, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10732, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10747, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10813, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10847, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10826, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10768, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10641, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10727, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10760, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11021, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10945, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10798, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10620, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10837, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10868, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10795, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10675, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10795, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10866, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10627, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11133, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10973, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 12096, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11190, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11194, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11179, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11178, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11153, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11145, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11132, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11134, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11125, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11117, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11111, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11104, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11067, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11057, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11041, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11043, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11000, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('NA', 11001, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10879, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10889, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10983, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10918, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10960, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10958, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10951, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10971, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10909, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10910, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10851, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10804, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10814, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10791, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10781, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10762, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10748, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10643, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10636, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10610, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10613, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10611, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10618, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10774, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10777, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10678, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10677, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10621, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11051, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11023, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10993, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10916, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10974, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10739, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10614, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10763, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10605, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 12342, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11181, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11155, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11135, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11132, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11114, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11076, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11067, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 12712, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 12593, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11727, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11511, 4074);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11195, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11191, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11182, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11177, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11174, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11167, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11166, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11147, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11139, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11133, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11112, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11106, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11096, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11091, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11093, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11084, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11079, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11077, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11071, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11065, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11056, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11054, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11051, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11048, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11042, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11044, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11028, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11021, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11019, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11003, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10993, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10991, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10881, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10883, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10945, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10956, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10985, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10986, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10970, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10973, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10976, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10908, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10911, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10913, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10748, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10831, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10844, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10819, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10780, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10682, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10645, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10634, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10827, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10858, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10646, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10627, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10734, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10729, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10713, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11077, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11056, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11006, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10972, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10907, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10733, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10746, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10860, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10788, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10641, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10648, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10868, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10680, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11187, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11162, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11153, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11020, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10992, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10985, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10986, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11173, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11168, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11138, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11107, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11083, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11068, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11061, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11058, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11037, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11020, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11004, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10999, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10903, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10900, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10880, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10890, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10981, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10914, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10965, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10894, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10959, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10978, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10799, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10840, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10771, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10728, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10750, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10625, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10706, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10674, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10818, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10788, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10803, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10812, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10824, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10628, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10619, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10740, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10753, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10711, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10715, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10781, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11050, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11044, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10998, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10914, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10964, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10980, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10911, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10735, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10689, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10671, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10833, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10775, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10657, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10612, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11190, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11154, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11103, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11089, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 11004, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("Sales", 10924, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ('Traveller Support', 10676, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11189, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11169, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11142, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11141, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11126, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11118, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11098, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11085, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 11076, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11069, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11066, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11062, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11023, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 11002, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10988, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10901, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA" 10904, 4702);

    Insert in the DM. TEMP_CALL_CENTER_TPC

    (SERVICE_DEPARTMENT, DM_DATE_DKEY, DM_CC_AGENT_DKEY)

    Values

    ("NA", 10897, 4702);

    COMMIT;


    {code}



    Can you please help me write the query to fulfil the two conditions of the query.

    Thanks in advance!

    Appreciated!

    Hello

    Here's a way to do it:

    WITH got_rnk_grp AS

    (

    SELECT T.*

    CASE

    WHEN service_department = 'sales '.

    THEN "A".

    WHEN dm_date_dkey = MAX (dm_date_dkey)

    COURSES (PARTITION BY dm_cc_agent_dkey)

    THEN 'B '.

    END AS rnk_grp

    OF temp_call_center_tpc t

    )

    got_rnk AS

    (

    SELECT r.*

    DENSE_RANK () OVER (PARTITION BY dm_cc_agent_dkey

    ORDER BY rnk_grp

    ) AS rnk

    Got_rnk_grp r

    )

    SELECT dm_destination_code_fkey

    dm_cc_orig_service_dkey

    dm_cc_orig_call_type_dkey

    dm_date_dkey

    dm_publication_source_dkey

    service_department

    dm_cc_agent_dkey

    OF got_rnk

    WHERE rnk = 1

    ORDER BY dm_cc_agent_dkey DESC

    ;

    He is a Top - N query example, where you want to display top rows N (N = 1 in this case) from the top of a sorted list (a separate list for each dm_cc_agent_dkey).  The usual way to go is with a ranking analytical function, such as DENSE_RANK.  We want the best line available for each value of dm_cc_agent_dkey, where the lines with service_department = 'Sales' are the best possible lines (let's call these group 'A'), and the lines with the highest dm_dtae_dkey are best second (let's call these 'B' group).  To determine if a line is in the group 'A' or 'B' requires the analytical functions, and since the analytical functions cannot be nested, it takes a separate subquery to find the Group ('A' or 'B' or none) before we can determine the rank.

  • Hey there, I have a problem, I paid for the creative cloud each month. 30 days ago, I downloaded the new update only in the trial version of photoshop and today the trial version has expired and I could not work with my old adobe program, although I pay f

    Hey there, I have a problem, I paid for the creative cloud each month. 30 days ago, I downloaded the new update only in the trial version of photoshop and today the trial version has expired and I could not work with my old adobe program, although I pay for it.

    Aileen,

    Please see suggestions here: FAQ: what should I do if I have a subscription, but my application acts as if I had a trial?

    Kind regards

    Guinot

  • I used to have demand for the library and messenger live but its all parties.

    I used to have demand for the library and messenger live but its all parties.

    I tried to reinstall them like the way that several times, but they said that I already have when I don't have them. What should I do?

    Hello

    1. did you of recent changes on the computer?

    2 are you referring to Windows live essentials?

    I suggest that you uninstall the programs on the computer and try to reinstall the latest version, check if it works.

    How to remove and reinstall Windows Live Services

    http://support.Microsoft.com/kb/938275

    If the previous step fails, then you can post your request in the forums of Windows live.

    http://windowslivehelp.com/

  • YES for the WWN and Mac

    When I create pools of wwn and Mac for a service profile template, is there a block of addresses that start with a YES that are specific to UCS?  In this guide: http://www.ciscosystems.sc/en/US/products/ps10281/products_configuration_example09186a0080af7515.shtml, I see a trick in the window of this picture: http://www.cisco.com/image/gif/paws/110297/create-sp-ucsblade-11.gif that specifies the use of the prefix 20:00:00:25:B5:xx:xx:xx will ensure uniquiness in WWN name, but when I'm in the same screen on our UCS, I don't see this trick.  The same goes for MACs, there at - it a block with certain values that I should start with?  The MAC of the guide section shows 02:25:B5:00:00:00 in the configuration window: http://www.cisco.com/image/gif/paws/110297/create-sp-ucsblade-09.gif but it is this unique UCS?

    Thank you.

    For the MACs Cisco recorded the program YES 00: 25:b5 the last three bytes are to you. You can either some arbitrary numbers of makeup or you can put a logic behind it. Here's what I recommend for MACs.

    • Create two clusters of MAC; one for the fabric and the other for fabric B
    • For the last three bytes, use the first for the site/cluster and the other for fabric or B. Example site 1, group 1 and fabric would be this 00:25:b5:11:a0:00 and go up from there. Fabric B would be this 00:25:b5:11:b0:00 and this 00:25:b5:12:a0:00 cluster 2.

    For the WWNNs and the WWPN, you want three pools; one for the node WWN and two for the port WWN (vHBA).

    Same concept here for the WWNNs use something like 20:11:00:25:b5:00:00:00 for the site 1 cluster 1 and 20:12:00:25:B5:00:00:00 for cluster 1 2 site.

    For the WWPN pools do one for fabric and a fabric b like this

    • Fabric of the 1 Group 1 site - 20:00:00:25:b5:11:aa:00
    • Fabric B 1 Group 1 - 20:00:00:25:b5:11:bb:00 of the site

    By creating pools MAC and WWPN for each tissue, you can easily identify what fabric on a MAC or WWN comes when you look at the MAC table on a switch or what zoning, you can easily select WWN. might be useful when troubleshooting as well.

  • I couldn't activate it because it says that my trial period has expired. I paid for the license and there is no way to use

    Since 69 days ago, I bought a dreamweaver license, I have charged me twice and I can't use it. I couldn't activate it because it says that my trial period has expired. I paid for the license, and there is no way to use or discuss with you for technical service. Within three days, they will return to load a month without being able to use the program.

    Your subscription to cloud shows correctly on your account page?

    If you have more than one email, you will be sure that you use the right Adobe ID?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    .

    If Yes

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • How to get the different records for the date max.

    Hi all

    Here is the sample sql for sample table and data.

    Create table student (dept_id number(10), first_name varchar2(10),last_name varchar2(10),join_date date,years_attended number(10));

    insert into student values (1,'Ann','Coleman',to_date('3/7/1917','MM/DD/YYYY'),4);
    insert into student values (1,'Ann','Coleman',to_date('3/7/1916','MM/DD/YYYY'),5);
    insert into student values (2,'Rock','Star',to_date('1/1/1920','MM/DD/YYYY'),5);
    insert into student values (2,'Rock','Star',to_date('1/1/1921','MM/DD/YYYY'),6);
    insert into student values (3,'Jack','Smith',to_date('7/1/1900','MM/DD/YYYY'),3);

    insert into student values (3,'Jack','Smith',to_date('7/1/1901','MM/DD/YYYY'),4);

    commit;

    I need to get maximum date records when the name and dep_id corresponds to. I wrote the query below and it becomes the expected result, but I'm not sure it's quite effective.

    SELECT s.dept_id, s.first_name,s.years_attended

    FROM (SELECT dept, MAX (join_date) join_date

    STUDENT GROUP BY dept_id) x

    Student JOIN s ON x.dept_id = s.dept_id AND x.join_date = s.join_date;

    This above query returns records like below, and this is the goal.

    DEPT_ID NAME YEARS_ATTENDED

    1                         Ann                                4

    2                         Rock                              6

    3                         Jack                              4

    Can you please let me know the query SQL I wrote is effective or not? This sample table may have less data, but I'm dealing with millions of records.

    Hello

    Thanks for posting CREATE TABLE and INSERT statement. This really helps.

    Here's a solution. I also added a name that seems logical. In which case you can delete:

    Select dept_id, first_name, last_name

    , max (years_attended) Dungeon years_attended (last dense_rank order by join_date)

    the student

    Group of dept_id, first_name, last_name;

    DEPT_ID FIRST_NAME LAST_NAME YEARS_ATTENDED

    ---------- ---------- ---------- --------------

    1 Ann Coleman 4

    Rock 2 star 6

    3 Jack Smith 4

    Kind regards.

    Alberto

  • Extra charge for the installation and use of the Creative Suite programs on the cloud?

    Sorry to ask a question apparently REAL dumbell!

    Are there extra charges over-and-above the monthly fee of $49.99 for the installation and use of the Creative Suite programs on the cloud?

    The annual subscription of $49,99 sounds too good to be true. I saw that a recent price list where each individual progeam was $49.99? -Thanks for your help, IM

    Intallation and download Support is free for creative cloud.

  • Problems of CS3 with the registration for the web and devices

    Recently, I had a problem to save my files for the Web and devices and the problem I have is that when I save the file, it registers in a version very very crisp illustration pixelated, I created.  I can easily copy and paste the file from Illustrator into Photoshop and save it like that but I would much rather just save in Illustrator.

    I'll get the CS5 package little time, however I was not sure if this problem continues also in CS5.

    It should not be a problem in CS 3 either, certainly not in CS5.

    Try this

    PC

    1. quit Illustrator.
    2. rename the AIPrefs file (for example, to AIPrefs.old) user / AppData/Roaming/Adobe/Adobe Illustrator CS3 Settings(user)folder.
    3. launch Illustrator. Illustrator creates a new preferences file.

    Also, here must be a backup of the Web folder as well trash who should also be in the same directory.

    Mac

    1. quit Illustrator.
    2. go to user/username/Library/Preferences/Adobe illustrator CS4 Settings and parameters, the entire record of the trash not only the contents of the folder...
    3. launch Illustrator. Illustrator creates a new preferences file.

    Also here must be a backup of the Web folder as well trash who should also be in the same directory

  • UDI-00014: invalid value for the parameter, "remap_tablespace".

    Hi all

    Windows 2003 Server
    Oracle 10g

    I'm doing a reorg, so I droped and recreated the schema. No w I want to import my datapump schema export, but it gives me an error:
    UDI-00014: invalid value for the parameter, "remap_tablespace".

    Here is my script:
    Impdp patterns of name of user and password = siebel directory = dpdir dumpfile = logfile schema_exp.dmp = schema_imp.log remap_tablespace = SBL_DATA:SBL_DATA, SBL_INDEX:SBL_INDEX State 60

    What I'm doing wrong, it makes me crazy, please help

    Published by: user11211037 on December 6, 2009 00:54

    Syntax and Description

    SCHEMAS = schema_name [,...]

    If you have the IMP_FULL_DATABASE role, you can use this parameter to perform a schema mode import by specifying one single schema other than your own or a list of schemas to import. First, schemas were created (if they do not already exist), including the system and the role of subsidies, the history of password and so on. Then all the objects contained in the imported patterns. Unprivileged users can only specify their own schemas. In this case, no information about the schema definition is imported, only the objects it contains.

    Hope you are clear.

    Concerning
    Asif Kabir

    -Mark your answer as correct/useful.

Maybe you are looking for