Skip to main content

NOT LIKE

使用SQL模式进行模式不匹配。返回1(TRUE)或0(FALSE)。如果expr或pat为NULL,则结果为NULL。

语法

<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 |
+----------+------------+
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today