select * from user where name like '%王%' |
select * from user where name not like '%王%' |
select * from user where adress =‘上海’ and name not like '%王%' or name is null |
select * from user where adress =‘上海’ and (name not like '%王%' or name is null) |