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

Allow for INTERSECT and MINUS queries outside of sql_mode=oracle

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • N/A
    • Parser
    • None

    Description

      I just found out that MINUS and INTERSECT queries work when you do this:

      MariaDB [MY_DB]> select pers_id, pers_first_name from PERSONS minus select pers_id, pers_first_name from PERSONS1;
      +---------+-----------------+
      | pers_id | pers_first_name |
      +---------+-----------------+
      |       3 | Edward          |
      +---------+-----------------+
      1 row in set (0.000 sec)
      

      There should be no reason to require sql_mode=oracle for this kind of query because the syntax does not conflict with anything that mariadb's standard SQL engine does.

      Attachments

        Activity

          People

            Unassigned Unassigned
            edward Edward Stoever
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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