Bug #73414 | SELECT UNION malforms result set - returns fewer rows | ||
---|---|---|---|
Submitted: | 28 Jul 2014 19:53 | Modified: | 29 Jul 2014 15:13 |
Reporter: | Van Stokes | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S1 (Critical) |
Version: | 5.6.19 x64 | OS: | Any (Windows,Linux) |
Assigned to: | CPU Architecture: | Any | |
Tags: | DML, SELECT, UNION |
[28 Jul 2014 19:53]
Van Stokes
[29 Jul 2014 15:13]
MySQL Verification Team
Hi, This is actually not a bug. If you specify UNION without all the addendum ALL, then the entire query will bi a DISTINCT query. That is how all SQL standards have defined it. So, use : UNION ALL and see if you get what you are looking for.