mysql取出大于3的赞评论(取出热门评论),而后其他的按时间前后顺序

sql详解(详见标红部分)sql 赞数大于3,就按照赞的数量进行排序ide 赞数小于3的,排序都为0(平级),而后就根据建立时间排序spa select * from topic_video_comment where relate_id='14ccac97b1154c6f93351f3f9a6ebf56' order by  case when  zan_count > 3  then zan_
相关文章
相关标签/搜索