小弟菜鸟,问个简单的问题。 select * from t a where (select count(*) from t where phone=a.phone)>1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select phone from 表 group by phone having count(*)>1 select phone from table where phone in (select phone,count(*) from table group by phone having count(*)>1)或select phone ,count(*) from table grou by phone having count(*)>1 OpenDataSource:Excel导入SQLServer2005Expr后小数位数太多 MSSQL 的危險動作, 各位小心中焦,中焦後請問有無方法解決呢? SQL的软件下载 請問在一台SQL Server上被分了數據庫,能在另一台上還原嗎? sql server ce支持存储过程吗? 如何取a表中a字段的值匹配b表中b字段的部分值的全部记录? 请教,急!!! 如何在查询语句中调用字段的头几位? 查询的问题-如何差某个月的记录?! 优化执行的顺序,请高手指点 动态sql求合计 请教查询语句或存储过程,谢谢——在线等。。。。
或
select phone ,count(*) from table grou by phone having count(*)>1