!, Not

Description: Logical NOT operator, and synonymous with NOT. Returns 1 if argument is 0; otherwise 0. But ! NULL and NOT NULL return NULL.

See also: NOT

Get Sams Teach Yourself MySQL in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.