样品表:**
--------------------------------------------------
| id | fname | lname | age
--------------------------------------------------
| 1 | John | Smith | 20
-------------------------------------------------
| 2 | John Craig | De Smith | 20
--------------------------------------------------
| 3 | John | De Smith | 20
--------------------------------------------------
MYSQL查询:
SELECT CONCAT(fname,' ',lname) FROM people WHERE CONCAT_WS(first_name,'',last_name) LIKE "%JohnCraigDeSmith%"
它不会显示任何结果。
我怎样才能为此建立一个有效的查询?