亚洲欧美男人天堂,日韩资源在线,日韩影视在线观看,日韩精品在线看,国产精品亚洲精品日韩已满,午夜理伦三级理论6080,国产精品爱久久久久久久

首頁(yè) 服務(wù) 產(chǎn)品 文檔 關(guān)于

sqlserver 按某列值的重復(fù)次數(shù)排序

表格article按標(biāo)題重復(fù)次數(shù)降序列表查詢,返回title和title值的重復(fù)次數(shù):

status=1條件為article的列status

select top 3 tb1.* from (select title,count(*) as count from article where status=1 group by title) as tb1 order by tb1.count desc