字段一 主键
字段二 主键
字段三 
 
select *  from 表 where (字段一=‘’and 字段二=‘’)or (字段一=‘’and 字段二=‘’)