回答編集履歴

1

追記

2018/10/29 05:56

投稿

sazi
sazi

スコア25199

test CHANGED
@@ -9,3 +9,7 @@
9
9
  MySQLではなくPostgresであれば、array_aggなどの[集約関数](https://www.postgresql.jp/document/10/html/functions-aggregate.html)でそのような事ができますので、検討されては如何でしょうか。
10
10
 
11
11
  また、postgresで[ユーザー定義型](https://www.postgresql.jp/document/10/html/xtypes.html)を使用すると、配列に対するようなアクセスをする事ができます。
12
+
13
+ そもそも、[配列](https://www.postgresql.jp/document/10/html/arrays.html)でも項目定義ができますし、配列を扱う関数も充実しています。
14
+
15
+ [9.18. 配列関数と演算子](https://www.postgresql.jp/document/10/html/functions-array.html)