寻求一个算法问题,有代码更好。谢谢! select a.*from table as a,(select count(Key) as num from tabel group by code) as bwhere a.Key = b.Key and b.num > 1; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.*from table as a, (select code,count(*) from table group by code having count(*)>1) as bwhere a.Code=b.Code; select code from table group by code having count(*)>1这样就行了! 你的意思CODE是表吧? SELETE DISTINCT code FROM table 请教个问题,能否模拟个鼠标点击消息呢? query刷新的问题 delphi中有没有代码格式化的功能啊? 线程和进程 有一点概念上的模糊 为了我的论坛增加人气,散分? 哪位高手太我破这个数据库的密码啊 nnd,求系统安全恢复软件? delphi中没有SetClIpCursor这个API函数 写程序是不是在于一种享受, 大家快点来 谁有Delphi 5企业级解决方案及应用剖析一书的源代码? 如何将IE的内容拖放到TWebBrowser中?(Html格式) 我的程序本来可以运行,谁知道加上事务后,就用不成了,去掉后又可以用了。
from table as a,
(select code,count(*) from table group by code having count(*)>1) as b
where a.Code=b.Code;