Although it does not work anywhere (MySQL, SQL-Server, Postgres) and is probably not a SQL standard, it works in Oracle:
WHERE 0 <> ANY (BOOK, ALLO, ...)
Tested in SQL-Fiddle
There is also another way that is standard and works in MySQL and Postgres, but not in Oracle:
WHERE (0, 0, ...) <> (BOOK, ALLO, ...)
And another standard way (using the table value constructor) that works in Postgres and SQL-Server 2012:
WHERE 0 <> ANY (VALUES (BOOK), (ALLO), ...)
source
share