Discoverer get the parameter sys_context every second time

Hello

I have a very strange situation with Oracle Discoverer BI 11g (11.1.1.6.0)

There is a package which is reflected in the context of two values DATE_FROM and DATE_TO. In the view, it looks like:

ET aeb. GLOB_YEAR_MONTH > = to_number(SYS_CONTEXT ('SEPA' 'DATE_FROM'))

ET aeb. GLOB_YEAR_MONTH < = to_number(SYS_CONTEXT ('SEPA' 'DATE_TO'))

I created workbook with the worksheet, which is based at the sight and use parameters to pass to the sys_context in addition.

The problem is that opening spreadsheet for the first time and entering the settings I get the empty result, but as soon as I do refresh parameters (values remain the same) I results.

In other words, every second I get the results for the query execution.

Anyy ideas?

Thanks in advance

Seems in this case, the problem is:

You can set a worksheet to set up a different session many
These parameters and settings is valid for the duration of the
Discoverer session. However, users should be informed of a problem then
This technique is used with the discoverer Plus and the Viewer. Discoverer of the Web-based
sets cache the results of SQL queries. When a workbook is opened, if the same
SQL query has already been run, then the previous results are returned to the
user. Discoverer does not detect that the context has changed and that the
query will now return different results. This problem can usually be fixed by
the user refreshing their workbook.

Tags: Business Intelligence

Similar Questions

  • When the press the play button, how we get information of angle in every second time bar?

    proje123.png

    When the press the play button, how we get information of angle in every second time bar?

    You can get the values of rotation for each image by calling the method. valueAtTime() on the Rotation property. So, if you want to know what the value is at the 2 second mark...

    layerObj.property("ADBE_Transform_Group").property ("ADBE Z rotation").valueAtTime(2, false);     'false' includes the results of the expression, 'true' does not work.

  • Every second time right peripheral (9800) / Simulator get hanged.

    Every second time right peripheral (9800) / Simulator get hanged.

    Here are the steps.

    1. install the application via OTA.

    2. open app. It's work very well.

    3. close the application and try to open again.

    Device /Simulator hanged and no operation will be performed, only restart. and second time count not abel to start tha app.

    Please suggest me. How to solve this problem,

    It looks like your communication code runs in the same thread as the UI.

    Try to put the communication on a separate thread and see if it helps.

    E.

  • I get the certificate error every time.

    To the right, when I try to access AKO, army knowledge online (www.us.army.mil) I get the certificate error every time.  Not only I got one when I first on the site, but also when I try to access my mail from the army and other features of the site.  I checked the settings of date and time, and they are all correct.  Also, the certification is valid until 2012.  Any help would be greatly appreciated. P.S. I am using XP

    It is simply because Microsoft does not charge the military by default root CA certificates.  All you need to do is load the certificates on your computer.  To do this, the instructions are on this Web site:

    <>http://dodpki.c3pki.Chamb.DISA.mil/rootca.html >

    HTH,
    JW

  • How can I get the clips in record full-time instead of the 25seconds (which seems to be set) when using windows DVD maker

    How can I get the clips in record full-time instead of 25 seconds (that they seem to be defined) using windows DVD maker

    Hi LorraineDawson,

    Here's a walkthough troubleshooting on this issue:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-creating-a-DVD-video-using-Windows-DVD-Maker

    hope this helps

    B Eddie

  • ToolBoxTools.addEventListener works only every second time

    Hello!

    Our layouts often enough by clicking on the tool 'page' in error, and it's happened several times, that it changes the size of the page without even noticing. Because there is no way to remove the tool from the toolbar (I guess?), I want to write a script, which displays at least a message that the page tool ("Seitenwerkzeug" in German) has been selected. Unfortunately, the event listener works only every second time:

    1 indesign begins > selection tool is active

    2. click on the tool page > message > tool page is active

    3. click on "another outil1" > "other outil1" is active

    4. click on "other tool2" > "other outil1" is active

    5. click on the tool page > nothing happens, page tool icon is active, but the 'tool2 another' icon is still active, too, and 'another tool2' is always on

    6. click on "other tool3" > "other tool3" is active

    7. click on the tool page > message > tool page is active

    8. ......

    No idea why this is?

    My script:

    #targetengine myToolListener

    app.toolBoxTools.addEventListener ("afterAttributeChanged", changeToolAlert);

    function changeToolAlert() {}

    If (app.toolBoxTools.currentToolName == "Seitenwerkzeug") {}

    Alert ("Message", "Title");

    }

    Exit(); I tried with and without this!

    }

    At first, I tried to use a confirmation message instead of an alert, who had the same problem and I thought it would be because the change does not work... but it seems that I can't yet work with information without something to 'crash' in the background?

    My previous confirm function:

    function changeToolConfirm() {}

    If (app.toolBoxTools.currentToolName == "Seitenwerkzeug") {}

    var confirmDialog = confirm ("You want to activate the page tool?", true);

    {if(!confirmDialog)}

    app.toolBoxTools.currentTool = UITools.SELECTION_TOOL;

    }

    }

    }


    I really hope someone has an idea

    Best,

    Anke

    Hi Anke,

    The problem, I think, comes from the fact that the Page Tool selection event (which you listen via afterAttributeChanged) needs time to complete. Since alert() and confirm() education gives focus to a new modal window before the event lifecycle is completed, the GUI becomes unstable, state icon described is not properly restored and your event management does not.

    One way to solve this problem would be a temporary queue listener IdleEvent once the Page Tool selection event is taken. In other words, we do not start one any modal dialog box as long as the GUI is refreshing.

    Something like this:

    //====================================================
    // PageToolDisclaimer.jsx
    //====================================================
    
    // Should be useable as a startup script, no #targetengine required
    // NB - MutationEvent is known to create a global 'evt' variable
    // so we don't seem to need a persistent session engine here :-)
    // That's why the active script File is used as the event handler
    
    (function(/*File*/EVENT_HANDLER, /*str*/TASK_NAME, /*uint*/TASK_TIME, /*str*/PAGE_TOOL_NAME)
    {
        var t;
    
        // Installer
        // ---
        if( !(t=app.toolBoxTools.eventListeners).length )
            {
            t.add(MutationEvent.AFTER_ATTRIBUTE_CHANGED, EVENT_HANDLER);
            return;
            }
    
        // IdleEvent handler (--> confirm)
        // ---
        if( (t=app.idleTasks.itemByName(TASK_NAME)).isValid )
            {
            t.eventListeners.everyItem().remove();
            t.remove();
            if( !confirm("***WARNING***\rDo you really want to activate the page tool?", true) )
                {
                app.toolBoxTools.currentTool = UITools.SELECTION_TOOL;
                }
            return;
            }
    
        // PageTool event handler
        // ---
        if( ('evt' in $.global) && 'currentToolName'==evt.attributeName && PAGE_TOOL_NAME==evt.attributeValue )
            {
            evt.stopPropagation();
            app.idleTasks.add({name:TASK_NAME, sleep:TASK_TIME})
                  .addEventListener(IdleEvent.ON_IDLE, EVENT_HANDLER);
            }
    })(app.activeScript, 'WaitPageTool', 400, app.translateKeyString('$ID/Page Tool'));
    

    Hope that helps.

    @+

    Marc

  • Help! I get the same e-mail several times... my office to my blackberry?

    I get the same e-mail several times... my office to my blackberry?

    How do I rectify this?

    Try to re-sync and see if that solves the problem.  Your e-mail may be trapped and unable to move from the Outbox to the sent items - and re-synchronization can it empty.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to get the parameter

    Hi all
    Greetings!
    I have a requirement in which I need to get the parameter which is recorded in jsp SSWA function.
    for example
    I have a page
    OA.jsp?page=/oracle/apps/conc/webui/ConcPG & Type = XX_DAIL

    Now, I want to use the parameter "LookupType" in my Page CO. processRequest

    I'm trying to get the value of this parameter in processRequest of my CO as

    String l_type1 = pageContext.getParameter ("Type");

    but the string returns NULL when I try to run the jDev page. I'm ideally looking for value "XX_DAIL" in the l_type1 string.

    I have only a single page.

    Please notify.

    Thank you

    I think that since you run it from JDev, you must include the parameter in the configuration of your project (right click on *.jpr--> project settings--> Oracle Applications--> DURATION connection--> the URL parameters in option

    From there, you can specify as: & Type = XX_DAIL

    The co code you must return a value now. Hope it will be useful.

    Kind regards
    LC

  • Unable to get the parameter by using a controller in the OPS

    Hello!

    I am new to using the OPS and will very much appreciate your help!

    FYI:

    Basically, I need to add 2 descriptive flexfields in a page (by creating a VO) and I need to update the table with the data stored on these de facto forces (I did all the logic already).

    I created a (CO) controller that calls a method that is declared in an application module (AM) that runs a stored procedure (CO and the AM were created by me and that they extend a standard CO and I am).

    Problem:

    However, updated just before... I'm having a problem because I can't get a parameter using paramContext.getParameter("reqHeaderId"). who will help me to identify which line I need to update.

    Because the statement is not capture the value, it returns a null value, and I got the following error when I try to convert it to a number in: oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: null

    It is really important to mention that, before we get to the page where I clicked the Send button that makes the logic mentioned... There are 2 pages before that where I'm trying to capture the setting and the required parameter is defined on the 1st page. I have been checking each standard CO 3 pages and they use the statement pageContext.putParameter ("reqHeaderId"); to switch between the 3 pages (as far as I know, if not please correct me). On the 3rd and last standard CO that it uses pageContext.getParameter ("reqHeaderId"); to get the value and make another logic.

    So why Im not getting the value if I do the same thing (pageContext.getParameter ("reqHeaderId") ;) on my xxController (which extends the standard co)?


    Here is the code of the controller:

    public class xxController extends standardController {}

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processRequest (pageContext, webBean);

    }

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)

    {

    super.processFormRequest (pageContext, webBean);

    String str;

    Str = pageContext.getParameter("_FORM_SUBMIT_BUTTON");

    If ((str! = null) & & (str.equals ("SubmitButton")))

    {

    String ReqHeaderId = pageContext.getParameter ("reqHeaderId");

    String ReqLineId = pageContext.getParameter ("reqLindId");

    [Serializable] Parameters = CLIENT1

    {

    ReqHeaderId

    ReqLineId

    pageContext.getParameter ("xxavtBienServicio") //dff

    pageContext.getParameter ("xxavtAttribute3") //dff

    };

    String var = (String) am.invokeMethod ("updateAttributes", parameters CLIENT1);    updateAttributes is the method that converts it to ReqHeaderId number and runs my stored procedure

    }

    }

    }

    Thank you in advance for your help!

    Hello

    I found the reason why I have problems to get the needed values.

    The reason was that the given property has been set to false in order to use pageContext.getParameter must be set to true. So, I went ahead and created as a "value of the form" this way I could put the melted property and keep the hide at the same time field.

    Thanks for your help!

  • How to get the parameter values of a step type custom when I create file and adding a type of step seq

    I use lv 8.5 and teststand 4.0.

    I did a step type custom and recorded at the MyTypes.ini in pallets of type.

    I specified a default module by opening the properties of the custom step of *.ini type window, then I put some values of the parameters.

    T1) when I open teststand and I add the custom step type manaully in seq file, the labview module parameter values are represented.

    But, if to use file (create and add support prototype stage), the labview module parameter values has the default value.

    Using joint file, how to get the setting custom step type values I put in *.ini?

    Q2) each type of step are automatically by name through the use of LoadTypePaletteFilesEx. When I open teststand and I add the custom step type manaully in seq file, the module is loaded automatically. Inside the attachment, I use a prototype of charge and a fixed path where the module labview is to load the labview module.

    Can I load module automatically without using a prototype of charge or how can I get a dynamic path of type step?

    I solved Q1 for myself by using the mapping tab of the parameter within the configuration to the default module window.

    Everyone knows Q2?

    Thank you.

  • I try to get the average of every 10 points at my table...

    I have a table of data and wish to get an output of the average of every 10 points. For example, the average of the points from 1 to 10, then the average points 11-20, then 21-30, etc.

    The challenge is that I don't know in advance how many points the sensor will collect executed because it depends on some external factors. I've attached a picture with some data made to illustrate what looks like at my table. In the example I tied, would be medium-sized (11 + 34 + 125 + 77 + 44 + 232 + 25 + 213 + 22 + 89) / 10 and (90 + 45 + 77 + 26 + 1 + 22 + 57 + 67 + 360 + 33) / 10.

    My first attempt used a structure case which found an average running and then reset whenever a multiple of 10 has been reached. However, this method is not very effective. Does anyone have ideas better?

    JarleEkanger wrote:

    How about this? Subset of the Delete table to retrieve pieces for an average and a registry change to keep the table remaining.

    It is generally not advisable to use 'delete from table' in a tight loop. Constant memory due to resizing table reallocations are probably ineffective.

    Here is a simple way to do...

    (If the number of points is not divisible by 10, the tail in excess is eliminated. You can easily change this behavior if you want.)

  • My HP Pavilion starts in Preset Mode and the sign flashes every second

    When I start the computer the next sign appears:

    Mode Info - 48.4 KHz / 60. OHz - 1024 x 768 - PRE-SELECTION MODE.

    The sign is flashing every second and doesn't go away.  I'm unable to log in because the sign covered the opening of session space programs.

    Definition of a restore point has not solved the problem. Help!

    Hello S.JColcombe,

    When you start your computer you are able to see your Windows operating system boot, before the screen flickers with the information you provided above?

    I suggest you to check the connection between the computer and the monitor. Or is it a laptop?

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

    Thank you

    James

  • How to get the Application Build Date and time?

    Hi guys,.

    I am developing application in Cascade.

    What is the API I can use to get the construction Date of the application and Tiime?

    These macros are expanded to C-strings at compile time. This is how/where to use it. Following an example would work I think:

    fprintf (stderr, "construction date is %s, construction time is %s\n", __DATE__, __TIME__);

  • How can I download the software for a second time without a backup with the serial number?

    Hi guys,.

    stupidly my gear broke and I missed it to make a backup for programs. May this is a stupid question, but how can I download Lightroom for the second time? I have the serial number for this, but can not find a link without buying it again...

    Thanks a lot for your help!

    See you soon,.

    Hannah

    Lightroom - all versions

    Windows

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows

    Mac

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • How get the sum of differences in time

    I have the query to get the taken (duration) of time to perform each activity below


    Select (select ep.name PE env_mapping where ep.id = p.bsa_env_id) environment,
    (Select trunc ((Max (ps.actual_end) - Min (ps.actual_start)) * 24 * 60) of ps Highlevel_activity where ps.activity_ID = p.id and ps.out_of_window_flag =' no. "") Actual_duration,
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Apps Patching"and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Apps_Patching,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, Highlevel_activity ps where de.task_type = ' Patching DB/MT ' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') DB_MT_Patching,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Shut Down' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Shut_Down,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Start Up' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Start_Up,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Vérification' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') audit.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching meadow' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Pre_Patching,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching Post' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Post_Patching,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Others' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') others

    activity p where

    I get the output as below

    EnV1 27 April 13 167 54 29 29 15 0 0 67 0
    EnV2 may 3 13 10 20 05 05 0 0 50 0 33


    My requirement is to get the amount for each column which I get on top of the query. How can I change the query above to get as the result below


    EnV1 27 April 13 167 54 29 29 15 0 0 67 0
    EnV2 may 3 13 10 20 05 05 0 0 50 0 33
    177 74 34 34 15 50 67 33 total

    Please help

    Thank you
    Archana

    Hello

    Agowda wrote:
    I have the query to get the taken (duration) of time to perform each activity below

    Select (select ep.name PE env_mapping where ep.id = p.bsa_env_id) environment,
    (Select trunc ((Max (ps.actual_end) - Min (ps.actual_start)) * 24 * 60) of ps Highlevel_activity where ps.activity_ID = p.id and ps.out_of_window_flag =' no. "") Actual_duration,
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Apps Patching"and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Apps_Patching,.


    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, Highlevel_activity ps where de.task_type = ' Patching DB/MT ' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') DB_MT_Patching,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Shut Down' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Shut_Down,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Start Up' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Start_Up,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Vérification' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') audit.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching meadow' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Pre_Patching,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching Post' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Post_Patching,.
    (select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Others' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') others

    activity p where

    If you make 9 of subqueries to get 9 different columns. It is very inefficient, and it is also difficult to maintain. If you need to change the conditions in subqueries, you will need to do the exact same change at 9 different locations.
    It would be much more effective if you just add de.task_type to the GROUP BY clause and then rotates the results. He could not run 9 times faster, but it probably run 5 times faster.
    See the FAQ forum {message identifier: = 9360005} to find out how.

    I get the output as below

    EnV1 27 April 13 167 54 29 29 15 0 0 67 0
    EnV2 may 3 13 10 20 05 05 0 0 50 0 33

    My requirement is to get the amount for each column which I get on top of the query. How can I change the query above to get as the result below

    EnV1 27 April 13 167 54 29 29 15 0 0 67 0
    EnV2 may 3 13 10 20 05 05 0 0 50 0 33
    177 74 34 34 15 50 67 33 total

    It's a GROUPING DEFINED work, no ACCUMULATION.

    Since you post CREATE TABLE and INSERT statemennts for your sample data, I will use the hr.departments table to show the difference.
    When you GROUP BY N > 1 the expressions, ROLLUP gives you N + 1 levels of totals and subtotals. For example:

    SELECT       department_id
    ,       job_id
    ,       SUM (salary)     AS total_sal
    FROM       hr.employees
    GROUP BY  ROLLUP (department_id, job_id)
    ORDER BY  department_id, job_id
    ;
    

    The above query GROUPs BY s expressions (department_id job_id) so ROLLUP produces 3 sorts of totals:
    (1) total department_id and job_id (e.g. 13000 for department_id = 20 and job_id = "Fatyty" below)
    (2) total Department, including all of the work (e.g. 6000 = 19000 13000 + for department_id = 20) and
    (3) total general for the entire result (e.g. 691416)

    DEPARTMENT_ID JOB_ID      TOTAL_SAL
    ------------- ---------- ----------
               10 AD_ASST          4400
               10                  4400
               20 MK_MAN          13000
               20 MK_REP           6000
               20                 19000
               30 PU_CLERK        13900
               30 PU_MAN          11000
               30                 24900
               40 HR_REP           6500
               40                  6500
               50 SH_CLERK        64300
               50 ST_CLERK        55700
               50 ST_MAN          36400
               50                156400
               60 IT_PROG         28800
               60                 28800
               70 PR_REP          10000
               70                 10000
               80 SA_MAN          61000
               80 SA_REP         243500
               80                304500
               90 AD_PRES         24000
               90 AD_VP           34000
               90                 58000
              100 FI_ACCOUNT      39600
              100 FI_MGR          12008
              100                 51608
              110 AC_ACCOUNT       8300
              110 AC_MGR          12008
              110                 20308
                  SA_REP           7000
                                   7000
                                 691416
    

    You don't want all that: you just want what corresponds in total for each department_id and job_id and total general, without any level of iintermediate. Here's how you can achieve these results using GROUPING SETS instead of ROLLUP:

    SELECT       department_id
    ,       job_id
    ,       SUM (salary)     AS total_sal
    FROM       hr.employees
    GROUP BY  GROUPING SETS ( (department_id, job_id)
                   , ()
                   )
    ORDER BY  department_id, job_id
    ;
    
    DEPARTMENT_ID JOB_ID      TOTAL_SAL
    ------------- ---------- ----------
               10 AD_ASST          4400
               20 MK_MAN          13000
               20 MK_REP           6000
               30 PU_CLERK        13900
               30 PU_MAN          11000
               40 HR_REP           6500
               50 SH_CLERK        64300
               50 ST_CLERK        55700
               50 ST_MAN          36400
               60 IT_PROG         28800
               70 PR_REP          10000
               80 SA_MAN          61000
               80 SA_REP         243500
               90 AD_PRES         24000
               90 AD_VP           34000
              100 FI_ACCOUNT      39600
              100 FI_MGR          12008
              110 AC_ACCOUNT       8300
              110 AC_MGR          12008
                  SA_REP           7000
                                 691416
    

    I hope that answers your question.
    If this isn't the case, post CREATE TABLE and INSERT statements for some examples of data and the results desired from these data.
    Simplify the problem. For example, instead of 9 different task_types, post sample data and results for 3 task_types. Simply mention that you actually 9, and we will find a solution that can be easily adapted for 9.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).
    See the FAQ forum {message identifier: = 9360002}

    Published by: Frank Kulash on May 27, 2013 10:47

Maybe you are looking for

  • Qosmio x 500-118 - the high temperature of the processor

    Very odd behavior that I found was that CPU temp reached 100 degrees Celsius and the fan speed remains at 81%. 81% is the fan speed when the CPU is at 80 degrees Celsius and 100 degrees, too. Is this normal?Finally, when the CPU reaches 100 degrees i

  • 4 ultrabook split of irrelevant of envy hinged cover

    Hi, I have a HP Envy 4 Ultrabook that I bought a while back - was not a year yet. He was perfectly fine but today when I opened my screen, I heard a snapping or clicking noise and saw that my left hinge was slightly out of place, and the side of the

  • Could not the two centre manager custom made size

    Hello I try to add two VerticalFieldManager with the background Bitmap to an existing VerticalFieldManager, who is then added on a screen.  The problem that I am running is that when the two VerticalFieldManager is added at the same time, I can not b

  • Multimedia keys in Windows speech recognition Macros

    Hi all I recently started using Windows speech recognition on my pc and discovered soon Windows speech recognition Macros. To come to my question, how do you define one of the multimedia keys in a macro 'send keystrokes? I want to be able to play/pau

  • Disorder by e-mail and/or play burned video VCR video with Windows Live Movie Maker

    Using Windows Live Movie Maker, I created a video from pictures and copied and he accompanied by music.  I tried to join my hotmail e-mail account, but it's a too large file.  I tried to compress them into a zip file.  Although I was able to record i