注册
找回密码
账号 记住
2423
4
252
1
0
循环体:
[loop=10]<br><strong>第{$AutoID}名</strong> {$Field(username,Text,0,...,0,)}(发表文章:{$Field(totalNum,Num,0,2)}篇)</br>[/loop]
循环语句:
select top 10 a.userid,a.username,totalNum from ks_user a,(select inputer,count(*) as totalnum from ks_article where verific=1 group by inputer)b where a.username=b.inputer order by b.totalnum desc