select * from 表 where 性别=女 and 年龄=35 and 专业=false or 性别=女 and 年龄=35 业余=false
这样写吧!
select * from 表 where 性别=女 and 年龄=35 and (专业=false or 业余=false)
select * from 表 where 性别='女' and 年龄=35 and (专业=false or 业余=false)
性别=女 and 年龄=35 and (专业=false or 业余=false)
http://www.360doc.com/content/10/0610/22/1175701_32415601.shtml