× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You might be able to do something with a Common Table Expression - it could maybe have the ID and the aggregate functions in it, then JOIN that to the other table - just a quick thought, I've not tried it with your scenario.

As to MySQL, it is known to have several syntactical items that do not align with the SQL standards - DB2 at IBM, and on IBM i, especially, is very compliant.

HTH
Vern

On 1/22/2020 9:53 AM, Patrik Schindler wrote:
Hello Tim,

Am 22.01.2020 um 16:34 schrieb Tim Fathers <X700-IX2J@xxxxxxxxxxx>:

You're only grouping by ID so you can only include that column in the select list without one of the aggregate functions (sum, min, max, etc.).
Since this works with MySQL, this is a restriction from DB2/UDB, I guess. So I need to do that report "by Hand", with SQL *and* glue code?

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.