Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文字列に完全または部分的に一致するクエリを作成したいと考えています。
これは私が持っているものです:
SELECT code FROM jos_rsticketspro_tickets WHERE message LIKE '%1. Fuente Dorada%';
解決策は、メッセージの内容「fuente」に一致します。「ふえん」。「おらだ」。『1.フエンテ・ドラダ』など
これどうやってするの?
多分これはうまくいくでしょう。message一部を含む行をチェックします"1. Fuente Dorada"
message
"1. Fuente Dorada"
SELECT code FROM jos_rsticketspro_tickets WHERE "1. Fuente Dorada" LIKE concat("%", message, "%");