Join condition between PO_REQUISITION_HEADERS_ALL and WF_NOTIFICATIONS

Hi,
Could anyone tell me what is the join condition between PO_REQUISITION_HEADERS_ALL and WF_NOTIFICATIONS?
I joined these two tables by WF_NOTIFICATIONS.ITEM_KEY = PO_REQUISITION_HEADERS_ALL .WF_ITEM_KEY.But I cannot found some approved requisitions item key in WF_NOTIFICATIONS table.
Please help.
I paste my query below:
SELECT PRH.ORG_ID ORG_ID,
WF.ITEM_KEY,
WF.FROM_ROLE,
PRH.WF_ITEM_KEY,
WF.RECIPIENT_ROLE APPROVERS_NAME,
TRUNC(NVL(PRH.APPROVED_DATE, '')) DATE_APPROVED,
WF.SUBJECT SUBJECT,
PRH.DESCRIPTION REQ_DESC,
PRH.SEGMENT1,
(SUM(NVL(PRL.AMOUNT, 0)) +
SUM(NVL(PRL.UNIT_PRICE, 0) * NVL(PRL.QUANTITY, 0))) REQ_AMT,
GL.SEGMENT1 || '.' || GL.SEGMENT2 || '.' || GL.SEGMENT3 || '.' ||
GL.SEGMENT4 || '.' || GL.SEGMENT5 || '.' || GL.SEGMENT6 || '.' ||
GL.SEGMENT7 || '.' || GL.SEGMENT8 CHARGE_ACCT
FROM APPS.WF_NOTIFICATIONS WF,
APPS.PO_REQUISITION_HEADERS_ALL PRH,
APPS.PO_REQUISITION_LINES_ALL PRL,
APPS.PO_REQ_DISTRIBUTIONS_ALL PRD,
APPS.GL_CODE_COMBINATIONS GL
WHERE WF.FROM_ROLE IN ('GHAWKINS', 'GHALVERSON', 'NCERNOTTA', 'DCOLLOPY', 'RHAY')
AND BEGIN_DATE > SYSDATE - 60
AND WF.MESSAGE_TYPE = 'REQAPPRV'
AND WF.ITEM_KEY = PRH.WF_ITEM_KEY --added
AND PRH.AUTHORIZATION_STATUS = 'APPROVED'
AND PRL.REQUISITION_HEADER_ID = PRH.REQUISITION_HEADER_ID
AND PRD.REQUISITION_LINE_ID = PRL.REQUISITION_LINE_ID
AND PRD.CODE_COMBINATION_ID = GL.CODE_COMBINATION_ID
GROUP BY PRH.ORG_ID,
WF.ITEM_KEY,
WF.FROM_ROLE,
PRH.WF_ITEM_KEY,
WF.BEGIN_DATE,
WF.SUBJECT,
WF.RECIPIENT_ROLE,
PRH.APPROVED_DATE,
PRH.DESCRIPTION,
PRH.SEGMENT1,
PRL.REQUISITION_HEADER_ID,
GL.SEGMENT1 || '.' || GL.SEGMENT2 || '.' || GL.SEGMENT3 || '.' ||
GL.SEGMENT4 || '.' || GL.SEGMENT5 || '.' || GL.SEGMENT6 || '.' ||
GL.SEGMENT7 || '.' || GL.SEGMENT8

Pl see if these MOS Docs can help -
603232.1 - How to Diagnose Purchasing Document Approval Routing
579522.1 - Forward Document Form FAQ
431767.1 - How To View Requisition From The Email Notifications For Which Workflow Data Is Purged
HTH
Srini

Similar Messages

  • What is the Join condition between mtl_system_items_b and mtl_onhand_quantities_detail

    Hi,
    What is the Join condition between mtl_system_items_b and mtl_onhand_quantities_detail?
    Thanks & Regards,
    Hari Babu

    Please see the query in (Consolidate Onhand Quantity /Sum Quantity Zero in MTL_ONHAND_QUANTITIES_DETAIL (MOQD) / Concurrent Program Consolidate Inventory Onhand Quantities / Datafix for 0 Quantity Displayed For Finished Goods (Doc ID 353345.1)), is shows how to join those 2 tables.
    http://etrm.oracle.com
    Thanks,
    Hussein

  • Join Condition between tables

    Hi all,
    Is it possible to propose a join condition (using SQ02) between two fields of two tables other than what is proposed by the system?
    Thanks
    Sandeep

    Hi Sandeep,
          You can very much match other fields of two tables in SQ02.
      1. Goto SQ02
      2. Give the infoset name
      3. Goto change mode
      4. Press the Join button, it will display the join conditions between the two tables.
      5. Press Join Conditions, it will propose the system generated join conditions
          with key fields
      6. If you want to match your own fields other than the key fields you can just 
          point the mouse pointer on the field of the first table and just drag it to the field
          of the second table. It will create a join condition.
      7. Save the infoset.
      Regards,
        Jayaram...

  • Join conditions in Multiprovider and Infoset

    Hi experts,
    1. I am using the multiprovider 0IC_MC01 which contains the cube 0IC_C03 and 0MATERIAL.
    I want to know the join conditions between these two infoproviders in the Multiprovider. How and where to get this info?
    2. Similarly, I've a Infoset(custom created) which contains 2 DSOs. I want to know the join conditions between these 2 DSOs in the Infoset.
    Please give a hint on this.

    Hi,
    pls go through the following steps and u can get the required info form the links provided...
    1.      Create an InfoArea to which you want to assign the new MultiProvider.
    Choose Modeling ® InfoProvider.
           2.      In the context menu of the InfoArea, choose Create MultiProvider.
           3.      Enter a technical name and a description.
           4.      Choose  Create.
           5.      Select the InfoProvider that you want to form the MultiProvider. Choose  Continue. The MultiProvider screen appears.
           6.      Use drag and drop to transfer the required InfoObjects into your MultiProvider. You can also transfer entire dimensions.
           7.      Use Identify Characteristics and Select Key Figures to make InfoObject assignments between MultiProviders and InfoProviders.
    http://help.sap.com/saphelp_nw70/helpdata/EN/cf/bc734190ba137de10000000a155106/frameset.htm
    for infoset u can hav the deatils from below
    http://help.sap.com/saphelp_nw70/helpdata/EN/d2/cb466d455611d189710000e8322d00/frameset.htm
    regards,
    rudra.
    Assign points if useful

  • Difference between join conditions using NVL and not using NVL

    Hi,
    I have a join condition in one of the applications as follows.
    NVL(RQ.out_mesg_id,0) = NVL(RS.out_mesg_id,0)How is it different without using NVL function. What is the internal execution difference.
    RQ.out_mesg_id = RS.out_mesg_idWill there be any difference in Performance and also in the query output.
    Regards,
    Pabolu

    Pabolu wrote:
    Hi,
    I have a join condition in one of the applications as follows.
    NVL(RQ.out_mesg_id,0) = NVL(RS.out_mesg_id,0)How is it different without using NVL function. What is the internal execution difference.
    RQ.out_mesg_id = RS.out_mesg_idWill there be any difference in Performance and also in the query output.
    Regards,
    PaboluI suppose that's a bit of a trick question (or could be).
    If the column is allowed to be NULL, then your 2 queries are NOT equivalent, so comparing isn't useful since presumably you can only have one correct result :)
    However, if RQ and RS (no idea what the table names are) are both defined as having a NOT NULL constraint on the column out_mesg_id (ignoring the possibility of column level masking possible with the use of VPD here) then the optimizer could do better if you rewrote the query without the use of NVL (this would of course depend on your tables, indexes, etc ... i am merely showing you that it COULD make a difference).
    SQL> select * from v$version;
    BANNER                                                                         
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product               
    PL/SQL Release 10.2.0.1.0 - Production                                         
    CORE     10.2.0.1.0     Production                                                     
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production                        
    NLSRTL Version 10.2.0.1.0 - Production                                         
    SQL>
    SQL> create table t1 as
      2  select level as col1, case when mod(level, 10) = 0 then null else mod(level, 10) end as col2
      3  from dual connect by level <= 1000;
    Table created.
    SQL>
    SQL> alter table t1 add constraint t1_pk primary key (col1);
    Table altered.
    SQL>
    SQL> create index t1_i_001 on t1 (col2);
    Index created.
    SQL>
    SQL> exec dbms_stats.gather_table_stats(user, 'T1', cascade => true);
    PL/SQL procedure successfully completed.
    SQL>
    SQL> create table t2 as
      2  select level as col1, case when mod(level, 100) = 0 then null else mod(level, 100) end as col2
      3  from dual connect by level <= 1000;
    Table created.
    SQL>
    SQL> alter table t2 add constraint t2_pk primary key (col1);
    Table altered.
    SQL>
    SQL> create index t2_i_001 on t2 (col2);
    Index created.
    SQL>
    SQL> exec dbms_stats.gather_table_stats(user, 'T2', cascade => true);
    PL/SQL procedure successfully completed.
    SQL>
    SQL> --query using NVL
    SQL> explain plan for
      2  select count(*)
      3  from t1, t2
      4  where nvl(t1.col1, 0) = nvl(t2.col1, 0)
      5  /
    Explained.
    SQL>
    SQL> SELECT * FROM table(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT                                                              
    Plan hash value: 663667122                                                     
    | Id  | Operation              | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT       |       |     1 |     8 |     5  (20)| 00:00:01 |
    |   1 |  SORT AGGREGATE        |       |     1 |     8 |            |          |
    |*  2 |   HASH JOIN            |       |  1000 |  8000 |     5  (20)| 00:00:01 |
    |   3 |    INDEX FAST FULL SCAN| T1_PK |  1000 |  4000 |     2   (0)| 00:00:01 |
    |   4 |    INDEX FAST FULL SCAN| T2_PK |  1000 |  4000 |     2   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT                                                              
    Predicate Information (identified by operation id):                            
       2 - access(NVL("T1"."COL1",0)=NVL("T2"."COL1",0))                           
    16 rows selected.
    SQL>
    SQL> --verbose version of NVL
    SQL> explain plan for
      2  select count(*)
      3  from t1, t2
      4  where t1.col1 = t2.col1
      5  or ( (t1.col1 is null and t2.col1 = 0) or (t2.col1 is null and t1.col1 = 0) or (t1.col1 is null and t2.col1 is null) )
      6  /
    Explained.
    SQL>
    SQL> SELECT * FROM table(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT                                                              
    Plan hash value: 1043818223                                                    
    | Id  | Operation              | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT       |       |     1 |     8 |     2   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE        |       |     1 |     8 |            |          |
    |   2 |   NESTED LOOPS         |       |  1000 |  8000 |     2   (0)| 00:00:01 |
    |   3 |    INDEX FAST FULL SCAN| T1_PK |  1000 |  4000 |     2   (0)| 00:00:01 |
    |*  4 |    INDEX UNIQUE SCAN   | T2_PK |     1 |     4 |     0   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT                                                              
    Predicate Information (identified by operation id):                            
       4 - access("T1"."COL1"="T2"."COL1")                                         
    16 rows selected.So if we compare the 'verbose' version of the query, in the "predicate information" section of the explain you can see that the optimizer was able to completely ignore the
    or ( (t1.col1 is null and t2.col1 = 0) or (t2.col1 is null and t1.col1 = 0) or (t1.col1 is null and t2.col1 is null) ) condition since it knows that neither t1.col1 NOR t2.col1 columns can be null (by definition), and because of this we get a slightly different index access choice.

  • Joins query between itab and database table..

    Hi all,
    Is it posible to use joins query between internle table and data base table...

    Hi Mehboob,
    No thats impossible to join the internal table and the database table.
    Alternatively what you need to do is you need to execute a Queryin Database Table and use the For All Entries in itab.
    Eg:  Select * from marc into table it_marc
             for all entries in it_matnr
               where matnr = it_matnr-matnr.
    Thanks,
    Chidanand

  • Identify join condition between any two table.

    Hi,
    I have set of tables. I don't know whether these tables are interlinked or not. I need to identify the underlying join condition in. As per my knowledge if my datasource is based upon infoset query , then I can go to SQ02 and find the underlying join condition. But in this case, I have only table names. How do i find whether they are interlinked or not.
    Thanks in advance
    Regards
    Snehasish

    Hi ,
    Go to SE11 t-code
    select  VIEW radio button
    give view name  start with Z.select create button
    select  databseview radiobutton. select copy button.
    it opens a view creation window.
    give table names in leftside .
    select RELATIONSHIP button.

  • Optimization of Join statement between MKPF and MSEG table for improving pe

    Hi All,
    I had a issue where we are executing one custom report and it is getting timed out after 45 minutes. We further executed with trace on and got to the conclusion with the help of BASIS that about 42 minutes of the 45 minutes tracetime are spent by a join over the tables  MKPF en MSEG.
    This join is done by the abap statement:
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND mkpf~blart = 'WE'
         AND mkpf~bldat LE gv_last_day_fisc_period
         AND mseg~matnr = i_list-matnr
         AND mseg~werks IN s_werks.
    Here, I_LIST comprises of stock for specific period as entered in the selection screen for that particular Material and plant
    LV_INTERVAL is range of all goods receipts for material and gv_last_day_fisc_period is current date.
    During the tracetime this statement was executed  more than 20.000 times, until the transaction timed out.
    The individual executions of this select stmnt  varied (roughly) between 50 and 1200 miliseconds. (depends wheter the requested database block is in the buffercache or must be read from disk).
    The acesspath used to execute the query ( see below) is optimal, given the present indexes.
    Index MSEG~M is covering al the specified selection criteria for  MSEG.
    Index MKPF-0 is used  to search the specified MBLNR criterium in MKPF.
    The  remaining selection criteria MKPF-BLART and MKPF-BLDAT are not indexed, and imho this would also not make sense for this query.
    BLART has only 3 different values n the MKPF table, and the selected value 'WE' has more than 1 million occurences.
    BLDAT is selected with =<20110903, so this is not distinctive as well.
    Can any one suggest some better way to write this query.
    Regards,
    Subhajit

    Actually there are 2 select statements where JOIN have been introduced and especially the time out is occurring in the second JOIN.
    Find all goods receipts for material
      PERFORM get_number_range_matdoc USING '03'
                                   CHANGING lv_interval.
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_we
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND mkpf~blart = 'WE'
         AND mkpf~bldat LE gv_last_day_fisc_period
    AND mseg~matnr = i_list-matnr
        AND mseg~werks IN s_werks.
      CLEAR lv_interval.
      PERFORM get_number_range_matdoc USING '02'
                                   CHANGING lv_interval.
    Find all goods issues for material
      SELECT mkpf~mblnr
             mkpf~mjahr
             mkpf~bldat
             mkpf~blart
             mseg~matnr
             mseg~werks
        INTO CORRESPONDING FIELDS OF TABLE i_matdoc_wa
        FROM mkpf INNER JOIN mseg ON mkpfmblnr = msegmblnr
                                 AND mkpfmjahr = msegmjahr
    FOR ALL entries IN i_list
       WHERE mkpf~mblnr BETWEEN lv_interval-fromnumber
                            AND lv_interval-tonumber
         AND ( mkpfblart = 'WA' OR mkpfblart = 'WI' )
         AND mkpf~bldat LE gv_last_day_fisc_period
    AND mseg~matnr = i_list-matnr
         AND mseg~bwart NE '561'
         AND mseg~bwart NE '562'
         AND mseg~bwart NE '961'
    AND mseg~bwart NE '962'
    AND mseg~werks IN s_werks.
    Mainly the second JOIN is creating the problem... In the backend ORACLE is being used as database.
    Please suggest how I can improve the performance of these joins as its taking more than 45 mins..

  • Physical Joins Difference Between 10G and 11G?

    Hi All, I have started using OBIEE 11G. Anybody please let me know is there any difference in applying physical joins in OBIEE 10G and 11G.
    I heard that we need to join Fact and Dim tables in reverse way in 11G.
    Thanks in Advance.

    # Fast-Start Failover for Maximum Performance Mode in a Data Guard Configuration
    # Compression of Redo Traffic (Only for Gap Resolution) Over the Network in a Data Guard Configuration
    # Real-Time Query Capability of Physical Standby Database
    # Fast Role Transitions in a Data Guard Configuration
    # Data Guard Integration, Simplification, and Performance
    # Dynamic Setting of Oracle Data Guard SQL Apply Parameters
    # Enhanced Data Guard Broker Based Management Framework
    # Histogram for Redo Transport Response Time in a Data Guard Configuration
    # Snapshot Standby
    # Strong Authentication for Data Guard Redo Transport
    # Enhanced DDL Handling in Oracle Data Guard SQL Apply
    # Enhanced Oracle RAC Switchover Support for Logical Standby Databases
    # Data Guard Logical Apply Completeness
    # Oracle Scheduler Support in Data Guard SQL Apply
    # Support Transparent Data Encryption (TDE) with Data Guard SQL Apply
    # Support XMLType Data Type (Only CLOB) in Data Guard SQL Apply
    # Virtual Private Database (VPD) Support in Data Guard SQL Apply
    See Also:
    Oracle Data Guard Concepts and Administration for details
    Ref. Oracle® Database New Features Guide
    11g Release 1 (11.1)
    Part Number B28279-01
    ~ Madrid

  • Replication of Pricing Conditions between ECC and CRM

    Hi All
    I have a couple of queries regarding replication of pricing information between ECC_CRM. We maintain the filter settings for Pricing procedures, access sequences and condition types in the object DNL_CUST_CND_PR, and accordingly these are replicated from ECC to CRM. My Questions:
    1. If some pricing procedure is created in CRM and this needs to be replicated to ECC, Can we achieve this?
    2. Would DELTA be active on these objects, in the sense if some changes are made to a pricing procedure in ECC, would they flow automatically to CRM?
    Thanks in advance
    Best Regards,
    Ram Sushanth

    Hi Chandra and Swaroop
    Thanks a lot for your response.
    From your replies, now, this is my understanding (Pl correct me if am wrong)
    1. Replication of Pricing Procedure from CRM to ECC is possible.
    It would be of great help if you could elaborate on the procedure to do so or provide pointers for documentation in this regard.
    Because, for replication from ECC to CRM, we perform an initial load on the object DNL_CND_CUST_PR or DNL_CUST_CNDALL.What is the object that we need to execute from replication from CRM to ECC?
    2. DELTA would be active only on condition records, but not on Condition types and Pricing Procedures and if any pricing procedure is changed in ECC, we would need to perform Initial Load again.
    Thanks in advance
    Best Regards
    Ram Sushanth

  • Analytic View join issue between TIMESTAMP and DATE formats

    I have a fact table in my data foundation that has a TIMESTAMP date that i am trying to join with to my calendar table that has  a DATE format .  I am unable to query this view after creating it and it appears to be because of the data type differences.  Is there a way to convert when joining? i can not seem to find a way to do this

    Yes, you can use a generated always statement to create a join predicate and join against that in the view.
    Or you can join against the M_TIME_DIMENSION table in an attribute view to convert.
    Or you can create a calculated column and do a union.
    Depending on the requirements, one of these will be the best fit.

  • Joining table between XLA_AE_HEADERS and RCV_TRANSACTIONS

    Hi ,
    In the rcv_receiving_sub_ledger with the rcv_transaction_id we can tie in the rcv_transactions
    table with the transaction_id, so:
    rrsl.rcv_transaction_id = rt.transaction_id
    But is this true for Process Manufacturing Organization also ?
    If i make a receipt in Process Manufacturing Organization (OPM Enabled) then shall data populate in rcv_receiving_sub_ledger at the time of accounting ...
    Regards,
    prakhar

    Pl see if ML Doc 558514.1 (How To Join XLA_AE_HEADERS and RCV_TRANSACTIONS?) can help
    HTH
    Srini

  • Race condition between admin and managed server?

    When I start my managed server, my admin server gets the following complaint
    in its log file:
    Jun 20, 2001 4:39:37 PM PDT Critical Log Management Unable to
    contact managed server - rat5, at 172.16.1.26:7027
    . Domain
    logfile will not contain messages from this server.
    java.lang.IllegalArgumentException: Invalid user name or password
         at
    weblogic.management.logging.DomainLogHandler.getMBeanHome(DomainLogHandler.j
    ava:281)
         at
    weblogic.management.logging.DomainLogHandler.subscribeToServer(DomainLogHand
    ler.java:243)
         at
    weblogic.management.logging.DomainLogHandler.registerToMe(DomainLogHandler.j
    ava:183)
         at java.lang.reflect.Method.invoke(Native Method)
         at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
    .java:562)
         at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
    48)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at
    weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(RemoteMBean
    ServerImpl_WLSkel.java:382)
         at
    weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
         at
    weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
         at
    weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
    java:118)
         at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
    7)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    This happens while my managed server is still booting. It isn't listening on
    port 7027 until a few seconds later. In the managed server rat5's log file
    is
    Jun 20, 2001 4:39:58 PM PDT Notice WebLogicServer WebLogic
    Server started
    Jun 20, 2001 4:39:58 PM PDT Notice WebLogicServer ListenThread
    listening on port 7027
    which is 21 seconds after the message in the admin log file. What do I have
    to do to have the admin server wait until the managed server is up before
    contacting it? Am I assessing the problem correctly?

    nope
    a server can be either Admin or Managed, there is no such thing as a Admin+Managed server.
    A domain expects you to specify which instance is an Admin, in config.xml you find
    <admin-server-name>AdminServer</admin-server-name>
    But this is not a problem for you, to all effects a domain without any managed servers and with only 1 Admin is a perfectly legal environment,
    you can deploy your applications to the Admin and be happy.
    Actually this is a common setup for Development environments.
    Of course in production you want to set up a proper environment with cluster etc....

  • Join between hz_cust_site_uses_all and pa_agreements_all table

    What is the joining condition between hz_cust_site_uses_all and pa_agreements_all table? How hz_cust_site_uses_all and pa_agreements_all table can be joined?

    Hi,
    What happens if you simply use a DISTINCT clause, something like:
    SELECT DISTINCT pa.customer_id ,hcs.cust_acct_site_id
               FROM hz_cust_acct_sites_all hca,
              hz_cust_site_uses_all hcs,pa_agreements_all pa
              WHERE hcs.cust_acct_site_id = hca.cust_acct_site_id
            AND hca.cust_account_id       = pa.customer_id
    Thanks &
    Best Regards,

  • How to join three tables and practical difference between 10g and 11g

    I want to know with example how to outer join three different tables in Oracle.
    Also if you have any website or reference for understand syntax or performance difference between 10g and 11g then please paste a link in.thanks!!

    Hi,
    897293 wrote:
    I want to know with example how to outer join three different tables in Oracle.The 3rd table comes into the result set the same way the 2nd one did:
    FROM           table_1  t1
    LEFT OUTER JOIN      table_2  t2  ON   ...
    LEFT OUTER JOIN      table_3  t3  ON   ...The join condition(s) for t3 can reference t1, or t2, or both.
    Also if you have any website or reference for understand syntax or performance difference between 10g and 11g then please paste a link in.thanks!!The main manuals all have "What's New" sections near the beginning. For example:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/wnsql.htm#sthref5
    Hoek,
    We've missed you. Welcome back!

Maybe you are looking for