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;