Bug #109852 | MySQL8.0.31 EXCEPT for ALL the problems: not being able to move same values | ||
---|---|---|---|
Submitted: | 31 Jan 2:43 | Modified: | 31 Jan 5:35 |
Reporter: | HULONG CUI | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 8.0.31 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[31 Jan 2:43]
HULONG CUI
[31 Jan 5:35]
MySQL Verification Team
Hello HULONG CUI, Thank you for the report and test case. IMHO "EXCEPT ALL" is working as expected i.e. "EXCEPT ALL" don't remove duplicates. You can try with just "EXCEPT". - table DataSetD EXCEPT ALL table DataSetE; +====+======+ | id | name | +====+======+ | 1 | A | | 3 | C | +----+------+ Without ALL: table DataSetD EXCEPT table DataSetE; +====+======+ | id | name | +====+======+ | 3 | C | +----+------+ Please see https://dev.mysql.com/doc/refman/8.0/en/intersect.html https://dev.mysql.com/doc/refman/8.0/en/except.html regards, Umesh