Home > Database > Mysql Tutorial > body text

查找重复记录

WBOY
Release: 2016-06-07 14:54:42
Original
974 people have browsed it

无详细内容 无 select * from rm_duty a where exists(select 1 from rm_duty b where b.duty_name=a.duty_name and a.rowidb.rowid )

select * from rm_duty a where exists(select 1 from rm_duty b where b.duty_name=a.duty_name and a.rowid>b.rowid )
Copy after login
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template