Pular para o conteúdo

Ausência de correspondência de padrões através de um padrão SQL. Devolve 1 (TRUE) ou 0 (FALSE). Se expr ou pat for NULL, o resultado é NULL.

<column>.not_like(<pattern>)
my_clothes.not_like('%pants)
┌─────────────────┐
│ my_clothes │
├─────────────────┤
│ plaid pants XL │
│ plaid hat │
│ plaid shirt │
└─────────────────┘
<expr> NOT LIKE <pattern>
SELECT name, category FROM system.functions WHERE name like 'tou%' AND name not like '%64' ORDER BY name;
┌──────────┬────────────┐
│ name │ category │
├──────────┼────────────┤
│ touint16 │ conversion │
│ touint32 │ conversion │
│ touint8 │ conversion │
└──────────┴────────────┘