Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13648

Add FULL OUTER JOIN to MariaDB

    XMLWordPrintable

Details

    Description

      Add support for FULL OUTER JOIN

      https://www.w3schools.com/sql/sql_join_full.asp

      One of the way how to implement is to re-write the query

      select t1.*, t2.* from t1 full outer join t2 on P(t1,t2)

      into the following union all:

      select t1.*, t2.* from t1 left outer join t2 on P(t1,t2)
      union all
      select t1.*,t2.* from t2 left outer join t1 on P(t1,t2) where t1.a is null

      Here t1.a is some non-nullable column of t1 (e.g. the column of single column primary key).

      Attachments

        Issue Links

          Activity

            People

              igor Igor Babaev
              Juan Juan Telleria
              Votes:
              14 Vote for this issue
              Watchers:
              29 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.