Answers for "mysql regexp vs like"

SQL
0

What is the difference between the LIKE and REGEXP operators in mysql?

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";
Posted by: Guest on December-22-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language