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 * FROM profile WHERE fname+" "+lname LIKE '%$name%'
例えば:
fname = "Lady" lname = "Gaga" $name = "lady g" is match
Facebook の検索エンジンと同じように、フルネームを入力すると、フルネームに改行なしのスペースが含まれていても結果が表示されます。