Bug #98630 | The same expression in GROUP BY and in output is not distinguished | ||
---|---|---|---|
Submitted: | 17 Feb 2020 9:36 | Modified: | 18 Feb 2020 13:33 |
Reporter: | Владислав Сокол | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[17 Feb 2020 9:36]
Владислав Сокол
[17 Feb 2020 12:32]
MySQL Verification Team
Hi Mr. Sokol, Thank you for your bug report. Please, try setting an alias for the expression CONCAT((val DIV 10) and then use that alias in the GROUP BY clause. Waiting on your feedback.
[18 Feb 2020 10:22]
Владислав Сокол
> try setting an alias for the expression CONCAT((val DIV 10) and then use that alias in the GROUP BY clause. If I use the whole expression or its alias taken from output the query is executed without problems. Of course.
[18 Feb 2020 13:33]
MySQL Verification Team
Hi Mr. Sokol, That is how things work with SQL and we have to conform to the standards that are set by its committee. Not a bug.