SELECT COUNT(*) FROM "messages" WHERE NOT (3 = ANY (recipient_ids))
Vždy můžete negovat WHERE (condition)
s WHERE NOT (condition)
SELECT COUNT(*) FROM "messages" WHERE NOT (3 = ANY (recipient_ids))
Vždy můžete negovat WHERE (condition)
s WHERE NOT (condition)