sql 如何过滤重复记录

distinct :

select distinct ID from table1
原文地址:https://www.cnblogs.com/yangdunqin/p/4443629.html