怎么用sql语句查询表中有多少条相同数据

如题所述

第1个回答  2014-03-21
select count(*) from 表 where 字段=数据
第2个回答  2014-03-21
select col,count(1) from t group by col having count(1) > 1
第3个回答  2014-03-22
select count(*) from 某表 where 什么字段=“什么数据”
相似回答