> ... see if I can find more clues on NOT NOT's existence as a unary operator is at [... Expressions](https://sqlite.org/lang_expr.html), section 2, 2nd paragraph, last token. But its precedence, (contrary to what I have thought and imagined seeing), is nowhere mentioned. I suspect that I am so used to its C precedence (as '!', and high) that I imagined that without actually reading it. In SQL, as others implement it, unary NOT has precedence between that of AND and the equality-like operators. So, briefly summarizing: There is a very clear doc improvement possibility here.