SQL中的or与in的区别

SQL中的or与in的区别 or与in同样的案例(条件里只有a时)web a in (1,2,3) a = 1 or a = 2 or a = 3 or与in不同的案例(条件里不止a时)sql where a in (1,3) and b = 2 等同于 where (a = 1 or a = 3) and b = 2 等同于 where a = 1 and b = 2 or a = 3 and
相关文章
相关标签/搜索