一个SQL语句获得一个人在文章中的参与和该职位的总得分。

选择A,b.sumpoint从expert_topic_index一,
选择随着,笔(点)为从expert_reply_index sumpoint
在postusername = 'ghj1976
随着集团的
有(点)> 0
B)
在a.topicid = b.topicid

它实际上是将查询结果放入一个新查询中。

此外,还查询组的结果。