Does anyone have some code that I can blatantly steal to perform an excel-esque "pivot" on a query?
This is for MariaDb / mySql - so unlike msSQL - there isn't a DBMS pivot() function that I can utilise.
Saying that I would much rather it be in CFML than reply on a database dialect, anyway.