select hoge,hogehoge from table group by hoge;
をしたいのですがどのようにしたら実現できますか?
グループ化してないhogehogeもselectしたいのです