sql解释逻辑运算符AND和&&?
解决方法
对于MysqL:
manual并没有明确说出来,但它们被列为相同的:
AND,&&
Logical AND. Evaluates to 1 if all operands are nonzero and not NULL,to 0 if one or more operands are 0,otherwise NULL is returned.
operator precedence页也毫不矛盾.