I need to create a map with the sql below.

Hello world

Please take a look at the query below and help me how I can re - write the same logic and create a mapping in the Warehouse Builder.
I appreciate your help.

Select the category, learner_id, delivery_id,
DENSE_RANK() over (partition changed by category, learner_id values null end_date desc order) dr.
Max (end_date) keep (dense_rank first order by desc nulls last end_date) on max_end_date (partition by category, learner_id).
min (end_date) keep (dense_rank last order by desc nulls last end_date) on min_end_date (partition by category, learner_id).
drive (end_date, 1, null) on (score changed by category, learner_id values null end_date desc order) next_max_end_date,.
start_date,
Created_on
of offering_action
where action_status_code = "200"
and completion_status_code = "200"

Thank you
Sushma

In this order:

--> Source (offering_action) table

Filter (where action_status_code = "200" and completion_status_code = "200")-->

Expression with 4 columns of output - Dr., max_end_date, min_end_date, next_max_end_date-

(
DENSE_RANK() over (partition changed by category, learner_id values null end_date desc order) dr.
Max (end_date) keep (dense_rank first order by desc nulls last end_date) on max_end_date (partition by category, learner_id).
min (end_date) keep (dense_rank last order by desc nulls last end_date) on min_end_date (partition by category, learner_id).
drive (end_date, 1, null) on (score changed by category, learner_id values null end_date desc order) next_max_end_date,.
)

That's all.

Tags: Business Intelligence

Similar Questions

  • How can I create a query with the data control to the web service?

    I need to create a query with the order of web service data, WSDL, it is query operation, there is a message of parameter with possible query criteria and a return message contains the results. I googled but can't find anything on the query with the web service. I can't find a criterion "named" to the data control of web service as normal data control. Blog of Shay, I saw the topics on the update with the data of web service command. How can I create a query with the data control to the web service? Thank you.

    Hello

    This might help

    * 054.     Search form using control data WS ADF and complex of entry types *.

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

  • I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    1. Draw a set of concentric half circles also spaced, stacked so that the outermost is the most remote.
    2. Use the text tool to add text to the outermost path, thus creating a PathType object.
    3. Select all the paths. Type > threaded text > create.
    4. Text tool: click at the end of the text in the object of PathType. Continue typing.

    > If I do that it will not type more.

    A Warp effect is a direct effect. When it is applied to the type of objects, they are still editable text. The chain will deform, however, the text also, not only the paths to which it is attached. Sometimes you want that, sometimes you don't have.

    JET

  • Captivate 8: PDF export created a file with the extension PDF... but it's actually a video. Shouldn't it exported slides as appropriate PDF document?

    In Adobe Captivate, there is a 'PDF export' checkbox when you publish your project.

    He checked the box, and the publication of project created a file with the extension PDF... but it's actually a video. Shouldn't it exported slides as appropriate PDF document?

    No, it was published in an interactive PDF, has always been the case. It's another way to publish the video, that does not need to deploy it to an LMS or a Web server, you can send the PDF file. However, since Flash player is is more integrated in later versions of the Adobe Reader software, the user is to install it.

  • Need to create a textinput with effects

    I need to create a textinput with effects - it should show a blue icon in front of it when the icon is focused and blue icon should fade later. I'm sure I need to use the skin but the problem is that I have only two States with textinput control and do not know how I would use those to ensure handling mouse hover effect. At the moment I'm not able to create a custom component bacuae I need to change all the code anywhere where there is textinput control.

    Thanks in advance.

    Rachel

    You can find this useful blog: http://flexponential.com/2010/01/24/custom-focusskin-for-spark-components-in-flex-4/

  • I need to create a link with confirmation...

    Please I need help o this:

    I need to create a link with confirmation, this means after by clicking on the link, that's not redirects to the next page, but it shows first a question like "Are you sure that you want to go to page XYZ"? Yes / No. If you click 'No' then the message disappears just, if you click 'Yes', he goes to the next page...

    Any dea? Thanks in advance...

    XYZ.php
    
  • create a view with the double data type

    I have Windows XP with 10g 10.2.0.1.0

    I need to create a view of the double and with the type of data, such as NUMBER (5.2), NUMBER or VARCHAR2 (20).
    such as:
    create see test (view_test varchar2 (20)) as (select view_test from double)


    Help, please. Thanks in advance.

    It seems a little strange, but you can do something like this with the CAST function:

    SQL> create view dual_view as
      2  select cast(null as number(5,2)) col1
      3        ,cast(null as date)    col2
      4        ,cast(null as varchar2(30)) col3
      5  from   dual;
    
    View created.
    
    SQL> desc dual_view
     Name                                      Null?    Type
     ----------------------------------------- -------- -------------------------
     COL1                                               NUMBER(5,2)
     COL2                                               DATE
     COL3                                               VARCHAR2(30)
    

    I used the NULL values, but you can use the actual values if you wish.

  • Problem with creating a container with the single line of text

    Hi ~
    I'm overwhelmed with a following problem.
    Problem: I need to create a container with a single line of text. As I learn from the TLF API, there is no way to do that so he left only in a way that looks like this:

    Assuming that textFlow object is to create
    var container: Sprite = new Sprite();
    var width: Number = 500; It has specified the value
    var height: Number = 300; just estimate is sufficient for a normal line height
    var controller: DisplayObjectContainerController = new DisplayObjectContainerController (container, width, height);
    controller.verticalScrollPolicy = ScrollPolicy.OFF;

    textFlow.flowComposer.addController (controller); textFlow.flowComposer.composeContainer (textFlow.flowComposer.getControllerIndex (controlled r));

    find the first line of the top in the created container
    var textFlowLine:TextFlowLine = textFlow.flowComposer.findLineAtPosition (controller.absoluteStart, false);
    var calLineHeight:Number = textFlowLine.textHeight + 8; 8 this is just a test value
    controller.setCompositionSize (width, calLineHeight);
    textFlow.flowComposer.updateContainer (_textFlow.flowComposer.getControllerIndex (Controller));


    In this way, she first calculate first line height giving enough space for the controller
    and cope, after that there adjust the height of the container again and then updates.
    It's so fresh generals I guess

    If anyone has more simple or just how?

    In regards to a single line. I think you can set the lineBreak on the TextFlow to "explicit". In this case lines only break to return to the line and the point ends.

    If you want to be changed, take a look at the TextLineFactory APIs. NaN set in the width/height of the limit and it gets filled. It is a more lightweight way to create TextLines.

    Take a look at the properties DisplayObjectContainerControllers compositionWidth and compositionHeight full TextFlows as in your code using. You still want to use explicit line breaks.

    Hope that helps!
    Richard

  • I need to create an association, in the control panel of the associations set to open a .i file seems to have lost this program to do?

    Could not open a file, the message came, I need to create an association in the control panel be greatfull advises you on how to do this thanks Brian Jones.

    Hello

    What is the file extension?

    You must have this program installed to open this specific extension

    If it's a file .doc, you must have Word installed

    If a .xls Excel file must be installed

    etc.

    read this:

    How do I... Change file extension associations in Windows Vista?

    http://www.TechRepublic.com/article/How-do-i-change-file-extension-associations-in-Windows-Vista/6172036

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-default-programs-using-set-program-access-and-computer-defaults

  • Hello, im a student in England, student of architecture. I have the pack student for 12 months and I really need to know my limits with the use, (copyright licensing). I am allowed, except by using my home application to show works that i already have)

    Hello, im a student in England, student of architecture. I have the pack student for 12 months and I really need to know my limits with the use, (copyright licensing). I am allowed, except by using my home application to show works which I have already done (as portfolios) to architectural firms, I intend to request a placement to? also can I post my stuff (already did the work) on my blog or tumblr? I intend not to use for profit/money at all well (if I was I wouldn't ask you this lol). Thank you.

    Hi,

    Please see Licensing FAQ: where can I find the terms of membership and the terms of use?

    Hope that helps!

    Kind regards

    Sheena

  • I created a project with the first 14 and now subscribed elements trial version. However, when I open it there still the band "created with the trial version...". "in the middle of the page. How can I get rid of this?

    I created a project with the first 14 and now subscribed elements trial version. However, when I open it there still the band "created with the trial version...". "in the middle of the page. How can I get rid of this?

    SAMT

    Removal of watermark Adobe Premiere elements 14 test of the project file... Open the project file of 14 trials in 14 items purchased and then first Expert rendered workspaceTimeline Menu/delete the files. Then restore the timeline content.

    You can not remove the watermark from Adobe to an export of the trial even after you bought the product.

    Some of us have found that just opening the project of tryout in removes it from Premiere Elements purchased the Adobe watermark. Determine the way that works for you.

    Please let us know if everything above worked for you.

    Thank you.

    RTA

  • I need to download photoshop test with the support of middele is to write in Arabic

    I need to download photoshop test with the support of middele is to write in Arabic

    Hello

    Please see Photo editing software | Download the free trial version Photoshop CC

    Hope that helps!

    Kind regards

    Sheena

  • I need to create a grid of the 1980s scrolling effect

    Hello I need to create a grid of the 1980s scrolling effect. I have already downloaded the grid from Photoshop and I need to create a movement for her legacy. Please see the link.

    'Feature Presentation' motion graphics test - YouTube

    Thank you

    Mike

    As already mentioned, you completely lose your time even bothering to import something PS for this simplistic effect. Everything can be done in AE.

    Generate effects-->--> grid

    Effects--> style--> Motion tile

    Effects--> style--> Glow

    Mylenium

  • I need to create a pie with a cut out of it...

    I need to create a clean and neat logo as follows:

    5minutewebs_16may2013_300x150.png

    Even if it's a transparent background, there are injury white outline around the type and the circle.  I need to create a pie where the cost portion is transparent and another where it is in color.  It took days to do all the foregoing is abismal.  I painted white and used the gum to create cutting and online tool in shaping the triangular sides.  Trying to create a curve of crispy on top of the cut turned out to be impossible.  Believe... put me this on a colored background and blow a little and his very amateur.

    Help!

    Thank you

    Jeff

    You must select the PNG-24 format and check the 'transparency' of course. then everything which is transparent in the file will remain in the PNG.

  • How to create two employees with the same name as the vendor record?

    Hi all

    We must create a vendor for the employee record, so that we can issue pretty invoice for cash payment. If there are 2 employees with the same name, how can we create records of supplier for these 2 employees? The system does not have the name of the provider in duplicate.

    Please notify.

    Kind regards
    HY

    Hello

    In R12, it is possible to create 2 employee with the same name but with a different number.
    And it is also possible to create these 2 employees as suppliers in Payables.

    HTH,
    Vik

Maybe you are looking for

  • Spurious characters with "arrows".

    When I take an arrow down, I get occasional unexpected characters inserted in the active document. This occurs in MS Excel and Delphi2006. Any ideas please? Thank you Jozef

  • can not turn on windows update on the computer or windows update site

    I am running windows xp. tried to start bar of tasks with pc Security Center. I tried to get the updates of the automatic windows update site, but apparently if you do not have automatic updating enabled you cannot run the software on your computer

  • Reinstall xp after that hard drive has been replaced

    Hard drive of my computer dell laptop crashed. After replacing the drive hard windows would not load so I made a boot xp from my office (also xp) drive. It worked but I had to use the product code of the dektop pc. It is a way to put the good prod co

  • Java (TM) Platform SE binary has stopped working (Windows 7)

    I can't install / / update of Java. After receiving messages as 'Java stopped working' with an update, I completely uninstalled Java and tried to install it again. No SOAP. I am running Windows 7-32 bit. Here are the details:Java (TM) Platform SE bin

  • SSH via generic connection?

    I have not been able to get this working.  I choose port 22 and have checked SSH works locally. I copy the generic connection link and try the commands such as: SSH xlx-1-91092-6667-f84f35aff2df.1-dfw-xlx.cisco-onplus.com:11701 cisco-l ssh xlx-1-9130