📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

Logical Operators



OperatorDescriptionExampleResult
ANDMatches both expressions (a and b)1 AND 1TRUE
NOTDoes not match the expressionNOT 1FALSE
ORMatches either expression1 OR 0TRUE

Was this page helpful?