1
patosky 2014-04-26 13:15:14 +08:00
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 2014-04-26 13:19:02 +08:00
你用concat_group和group by将它分组,重复的用distinct去掉。结果出来了再去自己计算。
大概是这样的结果: 123 5,3 xxx 1,2,3,4 ... 只能帮到这里了 |
8
coolicer 2014-04-26 13:19:26 +08:00
打完发现已经有几个回答了 = =
|