Logical Operators : Introduction : Logic Operator MySQL TUTORIALS


MySQL TUTORIALS » Logic Operator » Introduction »

 

Logical Operators


Name Description
AND, && Logical AND
NOT, ! Negates value
||, OR Logical OR
XOR Logical XOR


In SQL, all logical operators evaluate to TRUE, FALSE, or NULL (UNKNOWN).

In MySQL, these are implemented as 1 (TRUE), 0 (FALSE), and NULL.




Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Logic Operator
» Introduction