SQL Flow Field Guide

Operators: logical and set

13 reference entries

  • ALL

    comparison against every subquery value (ALL)

  • AND

    logical AND

  • ANY

    comparison against any subquery value (ANY)

  • BETWEEN

    inclusive range test

  • EXISTS

    TRUE when the subquery returns any row (NOT EXISTS = anti-semi-join)

  • IN

    membership in a list or subquery (NOT IN with a NULL in the list yields UNKNOWN for every row)

  • LIKE

    pattern match

  • Logical (overview)

    none (documentation, rules or examples)

  • NOT

    logical NOT

  • OR

    logical OR

  • Set - EXCEPT & INTERSECT

    set difference or intersection; NULLs compare equal here

  • Set - UNION

    set union

  • SOME | ANY

    comparison against any subquery value (SOME = ANY)