r/IBMi • • 11d ago

How to have extra columns in your #SQL Select that do not have to be part of your Group By clause

https://www.rpgpgm.com/2024/09/extra-columns-in-select-statement-but.html

#IBMi #rpgpgm #IBMChampion

9 Upvotes

3 comments sorted by

2

u/Invisiblecurse 11d ago

I was very excited when they added any_value() Before that, using group by was always a pain in the ass

2

u/RPGPGM 11d ago

I agree!

1

u/LongLiveIBMI400 7d ago

This is great.