close

資料表中最多前十名



select top 10 count(欄位) seq, 欄位 from tableA

where 欄位 in (select distinct 欄位  from tableA)

group by 欄位

order by seq desc

 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 11 的頭像
    11

    冠霖的部落格

    11 發表在 痞客邦 留言(0) 人氣()