说我有两个JSON字符串如下差异的JSON字符串: [{"RowId":102787,"UserId":1,"Activity":"This is another test","Timestamp":"2017-11-25T14:37:30.3700000"}]
[{"RowId":102787,"UserId":2,"Activity":"Testing the Update functio
试图让不同的行的计数在一个查询中,并且在一个行 表1 .. ID name
1 a
2 b
3 c
表2 ID Parent status
1 1 0
2 1 1
3 1 0
4 1 0
5 1 2
6 2 0
期望结果(不同子元素的计数) ID name 0a 1s 2s
1 a 3(count of 0s) 1 (counts of 1s)