Skip to Content

How to use LEFT OUTER JOIN to get only one matching row from second table in Open SQL ?

Hi ,

For example i am using EKKO table Left Outer Join EKPO but based on multiple entries in EKPO, i am getting multiple items.

I only need to return one matching row from second table that is EKPO.

How will i achieve this in Open SQL

Thanking You

Add a comment
10|10000 characters needed characters exceeded

  • There are 0 to any number of lines in EKPO for each line in EKKO. If you want to output only one line of EKPO, what is the selection criteria to choose between those possible lines of EKPO? (If you answer "any line", please tell us why do you want something random?)

    Please provide your code, that will certainly help us understand.

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 28, 2020 at 12:03 PM

    Hello Nida Khan


    Kind regards,
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.