News for hackers. Stuff that matters.
Re:Pivot – Rows to Columns by netcraft on Monday February 05, 2018 @04:27PM (#16312349)
I mentioned this in another comment, but with postgres you can use jsonb_object_agg and get out a variable number of columns, you just have to pull the data out of the json blob instead of them being columns.

There are no comments on this comment yet.