<>, Not Equal To

Description: Not equal to operator. != is synonymous.

Examples:

  • 4 <> 2 returns 1.

  • 4 != NULL returns NULL.

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.