首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

查询出表中反复纪录

2012-08-10 
查询出表中重复纪录--查询出表中重复纪录select rxn_trans_ref from rxn_txn_pr group by rxn_trans_ref h

查询出表中重复纪录
--查询出表中重复纪录
select rxn_trans_ref from rxn_txn_pr group by rxn_trans_ref having count(*)>1


select * from rxn_txn_pr a, rxn_txn_pr b where a.rxn_trans_ref=b.rxn_trans_ref and a.rowid <> b.rowid;

热点排行