Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 501 Bytes

File metadata and controls

25 lines (20 loc) · 501 Bytes
title
LIKE

Pattern matching using an SQL pattern. Returns 1 (TRUE) or 0 (FALSE). If either expr or pat is NULL, the result is NULL.

Syntax

<expr> LIKE <pattern>

Examples

SELECT name, category FROM system.functions WHERE name like 'tou%' ORDER BY name;
+----------+------------+
| name     | category   |
+----------+------------+
| touint16 | conversion |
| touint32 | conversion |
| touint64 | conversion |
| touint8  | conversion |
+----------+------------+