中国开发网: 论坛: 程序员情感CBD: 贴子 172056
haitao
order by count()倒是没有用过。。。这样行不行
select * from
(
select post_comment_id,count(*) as fc from comment
group by post_comment_id
) a
order by fc desc

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录