在Browser表中过滤重复的IP:
select * from Browser a where not exists (select 1 from Browser where Ip = a .Ip and id < a.id )
本文为“技术点滴”的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
在Browser表中过滤重复的IP:
select * from Browser a where not exists (select 1 from Browser where Ip = a .Ip and id < a.id )