[MDEV-17170] MINUS allowed as synonym for EXCEPT Set Operation for Oracle compatibility Created: 2018-09-11 Updated: 2023-06-06 Resolved: 2023-06-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oli Sennhauser | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Compatibility | ||
| Description |
|
SQL> SELECT first_name, last_name FROM user SQL> SELECT first_name, last_name FROM user Official Oracle documentation does not even mention the EXCEPT clause. So it is quite probable that many of those statements exist in real world... https://en.wikipedia.org/wiki/Set_operations_(SQL)#EXCEPT_operator |
| Comments |
| Comment by Oli Sennhauser [ 2023-05-11 ] |
|
Looks like MINUS is supported in sql_mode='oracle'. But this should be mentioned IMHO at least: |
| Comment by Ian Gilfillan [ 2023-06-06 ] |
|
Clarified in the docs that this is in Oracle mode only. |