每一個分類取5條, 這樣的SQL如何寫

select * from( select * ,row_number() over(partition by channel_id order by channel_id desc) as rowindex from dt_article)a where rowindex<=5 參開地址:http://bbs.csdn.net/topics/220069320
相關文章
相關標籤/搜索