Home | Mirror | Search

2. group by

統計重複的手機號嗎

select * from (select count(mobile) as c, mobile from member where length(mobile) >= 11 group by mobile) as m where m.c > 1;
		
comments powered by Disqus