日期:2014-05-18 浏览次数:20663 次
SELECT jqm FROM A GROUP BY jqm HAVING COUNT(1) > 1 ------解决方案--------------------
SELECT jqm FROM 表A GROUP BY jqm HAVING COUNT(1) > 1 --或 select jqm from 表A t where (select count(1) from 表A where jqm=t.jqm)>1