"select * from table_name where 年龄>30 and 性别='男性'
union
select * from table_name where 工龄>10 and 性别='男性'"