skip to Main Content

Quick way to find a word using a SQL query – Phpmyadmin

My current code is to try to find 2 words "Red Table" in Title: SELECT `id`,`title`,`colors`, `child_value`, `vendor`,`price`, `image1`,`shipping` FROM `databasename`.`the_table` WHERE `display` = '1' and (`title` REGEXP '([[:blank:][:punct:]]|^)RED([[:blank:][:punct:]]|$)') and (`title` REGEXP '([[:blank:][:punct:]]|^)TABLE([[:blank:][:punct:]]|$)') The problem is, this is so slow!…

VIEW QUESTION
Back To Top
Search