全年工资每个月都大于10000select * from 数据表 group by 员工uid HAVING MIN(工资字段) > 10000;全年每个月份工资大于10000select * from 数据表 where 工资字段 > 10000 group by 员工uid ;