Login
Remember
Register
Ask a Question
What is the difference between the LIKE and REGEXP operators?
0
votes
asked
Jan 14, 2024
in
Sql
by
AdilsonLima
What is the difference between the LIKE and REGEXP operators?
mysql-interview-qeustions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 14, 2024
by
AdilsonLima
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";
...