shift同时选择B和C可以添加括号
A and ( B or C)
select * from table where A and (B or C)
或者select * from table where (B or C) and A
同时出现and 和or 的时候,优先and,然后or,所以不管or 在前面还是后面,都要加括号。