By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
4 rows affected
| foreign_key_column_id | jsonb_agg |
|---|---|
| 12 | ["Bar %{1}", "Bar %{2}", "Foo"] |
| 1234 | ["Baz %{1}", "Baz %{2}", "Blub"] |
4 rows affected
| foreign_key_column_id | column1 | column2 | column3 |
|---|---|---|---|
| 12 | ["Bar %{1}", "Bar %{2}", "Foo"] | ["Bar2 %{1}", "Bar2 %{2}", "Foo2"] | ["Bar3 %{1}", "Bar3 %{2}", "Foo3"] |
| 1234 | ["Baz %{1}", "Baz %{2}", "Blub", null] | ["Baz2 %{1}", "Baz2 %{2}", "Blub2"] | ["Baz3 %{1}", "Baz3 %{2}", "Blub3"] |