News for hackers. Stuff that matters.
Re:Ask HN: What's the best self hosted/local alternative to ... by discordance on Wednesday May 31, 2023 @11:58AM (#36139846)
"Thanks ChatGPT. Could you please write that for MySQL and additionally for Oracle?"

MySQL: SELECT GROUP_CONCAT(columnName SEPARATOR ', ') FROM tableName;

Oracle: SELECT LISTAGG(columnName, ', ') WITHIN GROUP (ORDER BY columnName) FROM tableName;

I mean, it's not a big deal.. you just give have to give it a little nudge.

There are no comments on this comment yet.