📅  最后修改于: 2022-03-11 15:04:56.434000             🧑  作者: Mango
LIKE and REGEXP operators are used to express with ^ and %.
SELECT * FROM employee WHERE emp_name REGEXP "^b";
SELECT * FROM employee WHERE emp_name LIKE "%b";