sql關係型運算符優先級高到低爲:not >and> or

  select * from table where Condition1 and Condition2 or Condition3 若是咱們要搜索表table中知足Condition1且知足Condition2和Conditon3中其中一個的時候,咱們使用上述語句是錯誤的,由於關係型運算符優先級高低爲:not>and>or,所以上面執行順序爲:spa sel
相關文章
相關標籤/搜索