mysql查重

select * from t_device where v_id='361'  and mac in (select mac from t_device where v_id='361' group by mac having count(mac)>1);

猜你喜欢

转载自zk-yangyan.iteye.com/blog/2264278