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

查寻重复数据sql

2012-07-15 
查找重复数据sql多个字段:select * from froute_cp_table awhere (a.arrivecity,a.departcity,a.flightrou

查找重复数据sql

多个字段:

select * from froute_cp_table a
where (a.arrivecity,a.departcity,a.flightrouteline) in?? (select arrivecity,departcity,flightrouteline from froute_cp_table group by arrivecity,departcity,flightrouteline? having count(*) > 1)

热点排行