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
相關文章
相關標籤/搜索