特定カラムのデータの出現頻度を調べるSQL

集計するだけ。

select カラム名, count(カラム名) as カラム別名 from テーブル名 group by カラム名 order by カラム別名 desc;