几秒 读完 (大约 88 个字)
Mysql Regexp 正则表达式
1 2 3 4 5 6
| SELECT name FROM person_tbl WHERE name REGEXP '^st';
SELECT name FROM person_tbl WHERE name REGEXP 'ok$';
SELECT name FROM person_tbl WHERE name REGEXP 'mar';
|
参考:https://www.runoob.com/mysql/mysql-regexp.html