mysql concat and use as where column
snippet in sql

concat mysql

user2526

CONCAT (string1, string2,…) AS column_name

mysql concat and use as where column

user3965

select * from table where concat_ws(' ',first_name,last_name) 
like '%$search_term%';