#31917: MySQL Operational Error: "Unknown column 'x' in 'having clause'"
-------------------------------------+-------------------------------------
Reporter: StefanosChaliasos | Owner: nobody
Type: Uncategorized | Status: closed
Component: Database layer | Version:
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* cc: Adam (Chainz) Johnson (added)
Comment:
> Django produces a query that is invalid according to SQL standard.
I'm sorry but I don't see this. IMO the main issue is that MySQL doesn't
recognize that `f1` is included in the `GROUP BY` clause.
--
Ticket URL: <https://code.djangoproject.com/ticket/31917#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/075.1eb4f7e23bcb33f9ddc94a7fec101476%40djangoproject.com.