摘要: select id, topic_id, user_id, comment_time, birthday,rank from( select @rownum:= @rownum+ 1 AS rownum, IF(@x= ou.id, @rank:= @rank+ 1, @rank:= 1) rank, @x:= ou.id, id, topic_id, user_id, comment_time, 阅读全文
posted @ 2019-08-07 17:38 slnngk 阅读(158) 评论(0) 推荐(0)