select top 10 a.userid,a.username,totalNum from ks_user a,(select articleinput,count(*) as totalnum from ks_article where verific=1 group by articleinput)b where a.username=b.articleinput order by b.totalnum desc
select top 10 a.userid,a.username,totalNum from ks_user a,(select articleinput,count(*) as totalnum from ks_article where verific=1 group by articleinput)b where a.username=b.articleinput order by b.totalnum desc