close
資料表中最多前十名
select top 10 count(欄位) seq, 欄位 from tableA
where 欄位 in (select distinct 欄位 from tableA)
group by 欄位
order by seq desc
全站熱搜
資料表中最多前十名
select top 10 count(欄位) seq, 欄位 from tableA
where 欄位 in (select distinct 欄位 from tableA)
group by 欄位
order by seq desc