Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
检查字符串是否模糊匹配给定的模式。
expr
pattern
%
_
BOOLEAN like(VARCHAR expr, VARCHAR pattern);
mysql> select like("star","star"); +----------------------+ | like('star', 'star') | +----------------------+ | 1 | +----------------------+ mysql> select like("starrocks","star%"); +----------------------+ | like('star', 'star') | +----------------------+ | 1 | +----------------------+ 1 row in set (0.00 sec)