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

MySQL DATE_FORMAT "%d" issue – Phpmyadmin

I'm sure there's a logic to this, but I do not understand it date_format(date, '%m.%d.%Y') // Output: 03.05.2021 date_format(date, '%D.%m.%Y') // Output: 5th.03.2021 date_format(date, '%e.%m.%Y') // Output: 5.03.2021 But date_format(date, '%d.%m.%Y') // Output: 28.02.2021 There seems to be an issue…

VIEW QUESTION
Back To Top
Search