如何用SQL语句把表中字段'A'有两条以上重复的记录给找出来? rt 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以使用分组的手段!假设标明为 table,字段为 Aselect * from table where A in (select A,Count(A) as cnt from table group by A where cnt>1) select A from 表名 group by A having count(*)>1 select TA.* from table1 TA,(select A,count(A) as cnt from table1 group by A) TBwhere TA.A = TB.B and TB.cnt > 1 分组的方式限定分组的字段然后用COUNT计算 http://www.csdn.net/Develop/Read_Article.asp?Id=14038 安装的teechart怎么不全啊 在线程里故意无限循环会出现什么结果? 工资条打印问题?急!! 各位大虾帮我解释个程序,我自己写的,但不知道怎么写论文,帮帮我(3) 为何在98下面运行出错,在2000上正常 DSPACK+deiphi6的问题? 有没有谁知道Delphi5 中的 bordbk50.dll管什么的?我的程序总报此错 HELP 初学delphi,问一个TRadioGroup.itemindex的问题。请看代码。谢谢。 为什么ACDSee软件可以将5M的Jpg图片Save as为200k? 如何让Windows2000支持更多的游戏呢 怎样调用DLL文件啊
假设标明为 table,字段为 Aselect * from table
where A in (select A,Count(A) as cnt from table group by A where cnt>1)
where TA.A = TB.B and TB.cnt > 1
限定分组的字段
然后用COUNT计算
http://www.csdn.net/Develop/Read_Article.asp?Id=14038