3
如何取消嵌套和GROUP BY元素的JSON数组?
给定该band表,其中包含json一个数组的列: id | people ---+------------- 1 | ['John', 'Thomas'] 2 | ['John', 'James'] 3 | ['James', 'George'] 如何列出每个名字所属的乐队数量? 所需的输出: name | count -------+------------ John | 2 James | 2 Thomas | 1 George | 1