SELECT concat(first_column, ' ', second_column) from table_name
SELECT CONCAT(first_name, ' ', last_name) AS 'Name', dept FROM users;
select * from table where concat_ws(' ',first_name,last_name) like '%$search_term%';