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 ...


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

This mailing list archive is Copyright 1997-2022 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.