group by和having
SELECT sex,COUNT(sex) as num FROM ...  GROUP BY sex HAVING num>=3

首页 我的博客
粤ICP备17103704号