Specifying the type of join
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Specifying the type of join
The Record phrase that specifies the right-hand table
of a join also indicates the type of join operation. A Record phrase
specifies an inner join by default. To specify a left outer join,
you include the [LEFT]OUTER–JOIN option
anywhere in the Record phrase. Where you specify a list of multiple
Record phrases in a record-reading statement, the join logic allows
you to specify only one set of contiguous inner joins at the beginning
(left side) of the list and one set of contiguous left outer joins
at the end (right side) of the list. Each right-hand Record phrase
of a left outer join must contain the OUTER–JOIN option
up to and including the last left outer join in the list. For more
information, see Mixing inner and left outer joins.