Like ? + %in the filter query, I can use "RE" to return "READ" and "REED" and "READY".
My question is, I've tried the same code when connected to MySQL, but it does not return the same values, so what is the LIKE query that works for MySQL?
Like ? + %in the filter query, I can use "RE" to return "READ" and "REED" and "READY".
|
|
|
SELECT col_name FROM table_name WHERE col_name LIKE 'RE%';The '%' character represents zero or more of any character. This statement will match all strings beginning with 'RE', case insensitive, I think.
– Douglas Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid
0 members, 1 guests, 0 anonymous users