select Id,Title,AddTime,(select count(0) from Comments where Article.Id=Comments.NewsId) as counts from Article
我要"order by counts desc"
这句怎么加进去啊?
最后一种方法,声明一个变量, as counts 这里的counts声明成一个变量。