select count(1), t.col_a from table_test t group by t.col_a  having count(t.col_a)>1;

 

 

相关文章: