select uid from log where ip in(select ip from log group by uid having count(uid)>1) group by uid having count(ip)>=3;
牛客网
牛客网在线编程
牛客网题解
牛客企业服务