mysql sql automatic concat column code example
Example: mysql concat and use as where column
select * from table where concat_ws(' ',first_name,last_name)
like '%$search_term%';
select * from table where concat_ws(' ',first_name,last_name)
like '%$search_term%';