How to model in OWB, if you have a subquery in your select statement? (11.2)

What operator (ie the Table operator) to use if I have a subquery as part of my select statement? (As I do works, but is not elegant. What I do is to create a table for the subquery, and join with other sources to point to my goal.) But, would appreciate the best way with the characteristics of OWB.

Here is the entire SQL (including the subquery):

SELECT to_numbe (null), course_id
at. Book, lp.NAME,
(by selecting b.pricing in qp_pricing_attributes b
where b.list_id = ll.list_id and b.product = at.product) sign.
LL. Operand price, lhb.comments
Of
pricing_attribs to,.
He's list_lines,
list_h lp,
Lhb Liste_B
WHERE 1 = 1
and ll.list_line_id = atrib.list_line_id
AND ll.list_header_id = lp.list_header_id
AND lp.list_header_id = lhb.list_header_id



Thank you.

Hello

Didn't need to be a table in the target. A very simple example, let's say you wanted to do the following:
Select ename, (select dname dept d where d.deptno = e.deptno) of emp e

Then DEPT is the table of your choice and EMP is your table of conduct.

1. Add EMP on the canvas.
2. Add to the search operator
3 link research DEPT
4. tap on finish
5 card EMP. Department at the Dept. INGRP1 (search operator)
6. change the search operator, on tab Lookup Conditions for lookup column DEPTNO and DEPTNO of entry attribute
7. Search full now

You can add to a table operator target and map of the EMP source table and attributes for release of the search operator. You can change the step 4 to complete the wizard and define the list of choices, but I chose to do 5, to automatically get the names and the data types of the inputs. There are many other options currently in GR 11, 2 in the search.

Hope it makes sense.

See you soon
David

Tags: Business Intelligence

Similar Questions

  • Why always show that "there is a connection to the Apple store error."? It has been a month I am facing such a problem. How can I fix? Hope you have a solution to this...

    Why always show that "there is a connection to the Apple store error."? It has been a month I am facing such a problem. How can I fix? Hope you have a solution to this...

    I don't know if this is the problem, but it is something that must be correct establish a secure connection:

    Open Date and time preferences system, Date & time tab. Make sure that it is set to automatically set the time.

    Alternatively, make sure that your date/time is correctly set to the second.

    Another thing to try is to restart your modem and router.

  • How to delete an account after you have made your account microsoft Windows 8?

    Original title: deletion of a second report how to proceed

    How to delete an account after you have made your account microsoft upgrade of windows 8?  I don't need this second account. Please tell me how to delete I know there are simple thanis beforehand and aloha

    I don't know if it's easy or not

    I tried to do it and he said that I have to close my Outlook
    I'll close my Outlook and then try again and it still says that I have to close my Outlook
    I read that if you close Outlook and you wait like a year, it gets deleted
    You can switch to the account that you want to use in Windows 8 without deleting the current by switching to local account, and then switch back on the account of Microsoft said in passing
  • How signed in? I get "you have been disconnected.

    How signed in? I get "you have been disconnected.

    I did the removal of the OBEE.db thing, but that solves nothing.

    Hi PRDParks,

    Same issue was discussed by the below mentioned link - https://forums.adobe.com/thread/1324087

    Let me know if it helps.

    Thank you

    Florianne Jindal

  • Can you have notifications to both your iPhone and your Apple Watch?

    Can you have notifications to both your iPhone and your Apple Watch? It's a problem for me if I am away from my iPhone and my Apple Watch does not receive the notification.

    Hello

    How notifications behave depends on the State of your devices. In order to provide notifications to your attention as soon as possible:

    -If your iPhone is unlocked, you will receive notifications on your iPhone instead of on your watch.

    -If your iPhone is locked or asleep and that your watch is unlocked and on your wrist, you will receive notifications on your watch.

    -If your watch is locked or allowed to do not disturb, notifications will be sent to your iPhone.

    About notifications on your Apple Watch - Apple Support

    You can see that if you turn off your wrist detection (on your iPhone, in the application of the watch, go to: Watch My > General > wrist detection) it will make all notification alerts to be delivered to both devices. However, you will not then be able to benefit from features including Apple pay and one unblock after placing the watch on your wrist.

    If you want Apple to consider adding an option for notifications to be delivered for both devices regardless of the other settings, you can suggest to Apple here:

    https://www.Apple.com/feedback/watch.html

  • When I log into Windows Live Mail I get the following message: "you have unsent messages in your Outbox. You want to send them now? Yes or no"

    When I log into Windows Live Mail I get the following message: "you have unsent messages in your Outbox. You want to send them now? Yes or no,"that does this every time as I have disconnect. I look in my Outbox and there aren't waiting for messages. How can I get rid of this pop up?

    Hi LarryMorton,

    Thanks for posting your question in the Forum of the Microsoft answers Site. Your question would be better addressed by experts in the in Forum Windows Live Mail. Please repost your question here,

  • Error: you have an error in your SQL syntax; consult the manual for your version of the MySQL server for the right syntax to use near ')' at line 5

    Original title: how to solve this problem:

    System error

    You have an error in your SQL syntax; consult the manual for your version of the MySQL server for the right syntax to use near ')' at line 5

    Hi Roger,

    It seems that you have problems with the SQL syntax. The question you have posted is related to encoding and it would be better suited to the MSDN Community. Please report it in the community below.

    http://social.msdn.Microsoft.com/forums/SQLServer/en-us/home

    Hope this is useful.

  • "You have unsent messages in your Outbox. You want to send now? Yes No.

    "You have unsent messages in your Outbox. You want to send now? Yes No.

    After pressing on Yes and reload and stop several times in Windows 7 Windows Live Mail the message comes back. I looked and most responses are for Windows Mail and Windows Vista.

    Can anyone help

    Thank you
    Terry

    I had this problem recently.

    There was no message in the Outbox. On the left side of the WLM window, there is a list of folders. Just above the "storage folders" section is the Outbox folder. In my case, there was an e-mail in there, I tried to send to an invalid address. I deleted this email, and that fixes the problem.

    Good luck with yours.

  • Microsoft made a habit of you personally call by phone and saying: you have malicious software on your computer? I have hooked up to two times more positive that it is a scam

    Microsoft made a habit of you personally call by phone and saying: you have malicious software on your computer? Whenever they asked me to go to my computer and go to the Control Panel, they will say to me then my serial number to confirm that it is legitimate, when I said I thought it was a scam, they became very angry, both times, it was a Pakistani
    I have hooked up to two times more positive that it is a scam

    Microsoft made a habit of you personally call by phone and saying: you have malicious software on your computer? Whenever they asked me to go to my computer and go to the Control Panel, they will say to me then my serial number to confirm that it is legitimate, when I said I thought it was a scam, they became very angry, both times, it was a Pakistani
    I have hooked up to two times more positive that it is a scam

    You have made the right choice.

    This is a complete scam and one that has become very common these days. Microsoft never does such calls. Don't think anything such a caller said, do nothing that he tells you to do and hang up on him immediately.

  • W7 "you have sent messages in your out box, you want to send them now." I just started having this regular msg basis whenever I stop "Live Mail" is incorrect.

    W7 Live Mail "you have sent messages in your out box, you want to send now."  I just started having this regular msg basis whenever I stop "Live Mail" is incorrect.  I have no problems sending or receiving.

    Ja.

    Can I assume that you have enabled the shipping box to make sure there isn't a message stuck there?

    If you currently have problems using Windows Live Mail, please try to fix it by following these steps:

    Type "Wlarp" into the search (without quotes of course), and then press enter > fix all programs WLE

  • You have an error in your SQL syntax

    ColdFusion 7 and mySQL

    I get syntax error or access violation: you have an error in your SQL syntax; check the manual that corresponds to your version of the MySQL server for the right syntax to use

    It's a job application, and I want that managers are able to enter and modify any part of this.

    It says error near 'unique =' I can cook food. I have the power. ', excellent = "Someone asked me w" on line 33

    1. What is the error could she talk to?
    2. are there limits to this method? It's just too many fields?
    3. is there a better way to do it?

    Quote:

    < cfquery datasource = "afgdb" >
    UPDATE extranetJobApp
    SET
    location = "#Trim (FORM.location), #
    month = ' #FORM.month # ',.
    day = ' #FORM.day # ',.
    year = ' #FORM.year # ',.
    nameFirst = "#Trim (FORM.nameFirst), #
    nameLast = "#Trim (FORM.nameLast), #
    address = "#Trim (FORM.address), #
    apt = "#Trim (FORM.apt), #
    City = "#Trim (FORM.city), #
    State = ' #Trim (FORM.state), #
    zip = ' #Trim (FORM.zip), #
    phoneHome = "#Trim (FORM.phoneHome), #
    phoneCell = "#Trim (FORM.phoneCell), #
    18 = "#FORM.eighteen #"
    license = "#Trim (FORM.license), #
    position = "#Trim (FORM.position), #
    hours = "#Trim (FORM.hours), #
    travel = "#Trim (FORM.travel), #
    dayOnly = ' #Trim (FORM.dayOnly), #
    industry = "#Trim (FORM.industry), #
    industryLoc = ' #Trim (FORM.industryLoc), #
    whySeek = ' #Trim (FORM.whySeek), #
    currentEmploy = ' #Trim (FORM.currentEmploy), #
    currentContact = "#Trim (FORM.currentContact), #
    Felony = "#Trim (FORM.felony), #
    felonyExplanation = ' #Trim (FORM.felonyExplanation), #
    workRefusal = ' #Trim (FORM.workRefusal), #
    workRefusalExplanation = ' #Trim (FORM.workRefusalExplanation), #
    knowledge = "#Trim (FORM.know), #
    knowWho = "#Trim (FORM.knowWho), #
    unique = "#Trim (FORM.unique), #
    excellent = "#Trim (FORM.excellent), #
    discharge = "#Trim (FORM.discharge), #
    dischargeExplanation = ' #Trim (FORM.dischargeExplanation), #
    fastPace = "#Trim (FORM.fastPace), #
    armedForces = "#Trim (FORM.armedForces), #
    armedPosition = ' #Trim (FORM.armedPosition), #
    nationalGuard = "#Trim (FORM.nationalGuard), #
    socialDL = ' #Trim (FORM.socialDL), #
    E1 = "#Trim (FORM.emp1), #
    emp1From = ' #Trim (FORM.emp1From), #
    emp1To = ' #Trim (FORM.emp1To), #
    emp1Position = ' #Trim (FORM.emp1Position), #
    emp1Phone = ' #Trim (FORM.emp1Phone), #
    emp1Wage = ' #Trim (FORM.emp1Wage), #
    emp1From = ' #Trim (FORM.emp1Super), #
    emp1Reason = ' #Trim (FORM.emp1Reason), #
    EMP2 = "#Trim (FORM.emp2), #
    emp2From = ' #Trim (FORM.emp2From), #
    emp2To = ' #Trim (FORM.emp2To), #
    emp2Position = ' #Trim (FORM.emp2Position), #
    emp2Phone = ' #Trim (FORM.emp2Phone), #
    emp2Wage = ' #Trim (FORM.emp2Wage), #
    emp2Super = ' #Trim (FORM.emp2Super), #
    emp2Reason = ' #Trim (FORM.emp2Reason), #
    Emp3 = "#Trim (FORM.emp3), #
    emp3From = ' #Trim (FORM.emp3From), #
    emp3To = ' #Trim (FORM.emp3To), #
    emp3Position = ' #Trim (FORM.emp3Position), #
    emp3Phone = ' #Trim (FORM.emp3Phone), #
    emp3Wage = ' #Trim (FORM.emp3Wage), #
    emp3Super = ' #Trim (FORM.emp3Super), #
    emp3Reason = ' #Trim (FORM.emp3Reason), #
    High school = ' #Trim (FORM.highSchool), #
    highSchoolComplete = ' #Trim (FORM.highSchoolComplete), #
    highSchoolGrad = ' #Trim (FORM.highSchoolGrad), #
    College = "#Trim (FORM.college), #
    collegeComplete = ' #Trim (FORM.collegeComplete), #
    collegeGrad = "#Trim (FORM.collegeGrad), #
    Ref1 = "#Trim (FORM.ref1), #
    ref1Relationship = ' #Trim (FORM.ref1Relationship), #
    ref1Address = ' #Trim (FORM.ref1Address), #
    ref1Phone = ' #Trim (FORM.ref1Phone), #
    ref2 = "#Trim (FORM.ref2), #
    ref2Relationship = ' #Trim (FORM.ref2Relationship), #
    ref2Address = ' #Trim (FORM.ref2Address), #
    ref2Phone = ' #Trim (FORM.ref2Phone), #
    include = "#Trim (FORM.understand), #
    GIS = "#Trim (FORM.sig), #
    sigDate = ' #Trim (FORM.sigDate) #
    WHERE
    jobID = #FORM.jobID #.
    < / cfquery >
  • using the function - how to use the values of the input variables on the table select statement names

    Hello community, I have a problem when creating a function. The purpose of this function is to check the table of weather gave yesterday or not. We must check this on different tables on different sachems. We are creating a function with input variables.

    CREATE OR REPLACE FUNCTION IN_SCHEMA.IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    )

    RETURNS INTEGER

    AS

    -Declaring variables

    v_is_true INTEGER.

    BEGIN

    SELECT

    CASE

    WHEN MAX (in_datefield) = TRUNC(SYSDATE-1)

    THEN 1

    ON THE OTHER

    0

    END

    IN

    v_is_true

    Of

    in_schema.in_tablename

    ;

    RETURN v_is_true;

    END;

    /

    When creating, I got error: [error] ORA-00942 (44:19): PL/SQL: ORA-00942: table or view does not exist

    How to use the values of the input variables on the table select statement names?

    Hello

    Here's a way you can use dynamic SQL statements for this task:

    CREATE OR REPLACE FUNCTION IS_YDAYDATA_TO_TABLE

    (

    in_schema IN VARCHAR2,

    in_tablename IN VARCHAR2,

    in_datefield IN VARCHAR2,

    in_first_date DATE DEFAULT SYSDATE - 1,.

    in_last_date DATE by DEFAULT NULL

    )

    RETURNS INTEGER

    AS

    -IS_YDAYDATA_TO_TABLE returns 1 if in_schema.in_tablename.in_datefield

    -contains all the dates in the in_first_date of the range through included in_last_date

    - and it returns 0 if there is no such lines.

    -If in_last_date is omitted, the search only the data on in_first_date.

    -If in_first_date is omitted, it defaults to yesterday.

    -Time parts of the in_first_date and in_last_date are ignored.

    -Declaring variables

    sql_txt VARCHAR2 (1000);

    v_is_true INTEGER.

    BEGIN

    sql_txt: = 'SELECT COUNT (*).

    || 'FROM ' | in_schema | '.' || in_tablename

    || 'WHERE ' | in_datefield | ' > =: d1'

    || «AND» | in_datefield | '< >

    || 'AND ROWNUM = 1';

    dbms_output.put_line (sql_txt |) '= sql_txt in IS_YDAYDATA_TO_TABLE");  -For debugging

    Sql_txt EXECUTE IMMEDIATE

    IN v_is_true

    With the HELP of TRUNC (in_first_date) - d1

    TRUNC (NVL (in_last_date

    in_first_date

    )

    ) + 1                -- d2

    ;

    RETURN v_is_true;

    END is_ydaydata_to_table;

    /

    DISPLAY ERRORS

    If you must use dynamic SQL statements, put all the SQL statement in a single string variable, such as sql_txt in the example above.  In this way, you can easily see exactly what will be executed.  Comment out the call to dbms_output under test is completed.

    Try to write functions that will address not only the question that you have now, but similar questions that you may have in the future.  For example, now that interest you only to the verification of the data of yesterday, but later, you might want to check another day or range of days.  The above function combines the convenience of a function simple (looks like yesterday data if you don't tell him otherwise) with the power of a more complex function (you can use the same function to check any day or range of days).

  • How to use the variable instead of the table name in the select statement of procedure

    I have a procedure with a select statement with dynamic from clause. How can I use instead of the name of the table variable.

    create or replace procedure scc_chemical_analysis
    is
    v_table_name varchar2 (100);
    Start

    declare
    cursor c1 is select * from v_table_name; -This is the variable name. How can I use it in the select statement.
    .
    .
    .
    .



    end;

    Hello

    something like that.

      1  declare
      2     vSQLString      VARCHAR2(32000);
      3  pTableName varchar2(1000):='EMP';
      4  BEGIN
      5     vSQLSTRING :=
      6  'SELECT ''x'' FROM ' || DBMS_ASSERT.sql_object_name(pTableName) || ' WHERE rownum<=1 ';
      7     EXECUTE IMMEDIATE vSQLSTRING;
      8* END;
    SQL> /
    
    PL/SQL procedure successfully completed.
    
  • How sign web apps blackberry if you have already done this?

    On the same computer machine, I had signed with signing authority and got keys etc. I remember RIM sending me 2 folders with 1 file of csi in each.

    Now since I work with web applications, what should I do to get these installed keys and sign my BB web apps. I'm confused between the options "install new keys, import existing keys, get a signature keys.

    Hello

    To clarify, you have already purchased and received your RIM key code, signature and use it for Java development?

    If yes then you need to also make available be used by WebWorks Plug-ins as well. Help on this subject are available in the Eclipse and Visual Studio Plug-ins (search for "key signature").

    For example, in Eclipse, open the Windows Menu and click on Preferences.  There should be links to the key management of signature under the direction of BlackBerry Web/Widget.  If you have already installed keys on your computer, you click on the link "import existing keys":

    For more information about code signing, see this article:

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/BlackBerry-applications-and-code-SIGNI...

    Sincerely,

    Adam

  • How do I get the message "You also want to review your document" during the drafting

    Can someone let me know how to restore the message that appears during the drafting process, after you select 'Icon apply the redaction' which reads:

    "Samples have been applied successfully.

    You also want to review your document for more information of a complementary document? »

    Someone ticked the box always "perform the selected action" and we need to come back.

    I looked in preferences, and I'm not able to locate where this message can be reactivated.

    This is Adobe Acrobat 9 Pro for Windows.

    Any suggestions?

    Thank you.

    Try the preferences > General > warnings and click "reset all warnings.

Maybe you are looking for

  • My wifi/internet is very slow since the IPhone Update 9.3.4.

    I have an IPhone 6 and since the update (3 days ago) my wifi/Internet is very slow. Minutes of need for pages to load, and the App Store and the ITunes App not to load any. Photos and videos need a time very Long if they work at all. The wireless rou

  • HP Workspace: Users can print from HP work space?

    Hey everybody, Users can print to HP workspace? Thank you Bill

  • Satellite M40-200: what form should I use

    Hi need to replace the screen on my laptop. I will use the same series, or can I use one of the other as long as it's the right size.

  • My Portege 3480CT died

    Heyho, I have a big problem. My Toshiba laptop is not so new (and my English is not so good so :), I loved (Portege 3480 T)! Until he died. I was surfing, plug in the AC adapter and all at once the laptop shut down one I myself pucker my face and was

  • chrome Setup error

    Dear Sir   I used windows xp.and I install google chrome and the "aw" snap error error... so how to solve... pls rep...