Home >Database >Mysql Tutorial >重复数据只取一条

重复数据只取一条

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 14:57:561628browse

无详细内容 无 select * from Table1 where ID in (select min(ID) from Table1 group by DuplicateColumn)

select * from Table1 where ID in (select min(ID) from Table1 group by DuplicateColumn)
Statement:
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
Previous article:oracle数据库Next article:统计百分比