Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Modern SQL: With – Organize Complex Queries. Parent comment
SELECT key, value1, ARRAY(SELECT value2 FROM bar WHERE bar.key = foo.key) AS value2_array FROM foo;
(In Postgres; no "JSON capabilities" needed.)
There are no comments on this comment yet.
(In Postgres; no "JSON capabilities" needed.)