1
patosky Apr 26, 2014
count(score) group by documentID
|
3
troyl OP @patosky select documentID, sum(score) as orScore from myIndex where term='children' or term='infant' group by documentID;
|
7
coolicer Apr 26, 2014
你用concat_group和group by将它分组,重复的用distinct去掉。结果出来了再去自己计算。
大概是这样的结果: 123 5,3 xxx 1,2,3,4 ... 只能帮到这里了 |
8
coolicer Apr 26, 2014
打完发现已经有几个回答了 = =
|