0
SELECT title, title REGEXP 'apple' as is_fruit FROM mytable;
SELECT title, title REGEXP 'apple' or orange...or grapes...as is_fruit...
基本上,我怎么做一个 “OR” 为REGEXP?
SELECT title, title REGEXP 'apple' as is_fruit FROM mytable;
SELECT title, title REGEXP 'apple' or orange...or grapes...as is_fruit...
基本上,我怎么做一个 “OR” 为REGEXP?
SELECT title, title REGEXP '(apple|orange|...)' as is_fruit FROM mytable;